|
|
#1 (permalink) Top |
|
out of date
![]() Join Date: May 2003
Age: 27
Posts: 1,618
Times Helpful: 104
My Mood: Twisted
Status: Offline
|
If I compile a package from source does it matter if I have an x86 or powerpc computer? Most binaries are for x86 and I have an ibook with gutsy.
cheers guys! |
|
|
|
|
#2 (permalink) Top |
|
Paranoid Geeky Geek
![]() Join Date: Mar 2006
Age: 34 Male
Posts: 5,746
Times Helpful: 306
My Mood: Paranoid
Status: Offline
|
no, if you compiling from source, compiling from source creates the appropriate installation files for the architecture you are compiling it for
BTW: i can't believe i'm advising about compiling source, anyone would think i compile source all the time, tbh, i haven't even configured HWF kernel in my system let alone compiling from suorce Edit: source code is source code it must be compiled before it can be executed on any specific architecture / platform e.g. x86, PPC or whatever
__________________
Last edited by donkey42; 31-05-2008 at 04:35 PM. Reason: edit |
|
|
|
|
#3 (permalink) Top |
|
Nonconformist Geek
![]() |
For best results, put CPU-specific Cflags in your /etc/environment file.
Safe Cflags - Gentoo Linux Wiki For instance, to get the best stable Cflags for a G5 SPARC... Code:
CHOST="powerpc64-unknown-linux-gnu"
CFLAGS="-mcpu=G5 -O2 -pipe -maltivec -mabi=altivec -fno-strict-aliasing"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-Wl,-O1"
__________________
See My Desktop | Try Linux | Install Linux | Visit My Server | Support Hardware Forums | Easily rip DVDs in Linux |
|
|
|
|
#4 (permalink) Top | |
|
Paranoid Geeky Geek
![]() Join Date: Mar 2006
Age: 34 Male
Posts: 5,746
Times Helpful: 306
My Mood: Paranoid
Status: Offline
|
if i may be so bold
Quote:
__________________
|
|
|
|
|
|
#5 (permalink) Top |
|
The King
![]() ![]() Join Date: Jan 2004
Age: 18 Male
Posts: 5,254
Times Helpful: 402
My Mood: Drunk
Status: Offline
|
Not all applications can be compiled for any architecture though. There may be cases where certain programs/libraries can only be built for certain architectures, since there's no guarantee that it's portable.
__________________
Never trust a program you don't have the source code for. ![]() My website | Powerful Desktop Linux | Linux for human beings | Linux for power users | Linux for ricers |
|
|
|
|
#6 (permalink) Top | |
|
Paranoid Geeky Geek
![]() Join Date: Mar 2006
Age: 34 Male
Posts: 5,746
Times Helpful: 306
My Mood: Paranoid
Status: Offline
|
Quote:
Edit: sorry for the stupid post, presumably you can tell the arch by reading the source
__________________
Last edited by donkey42; 01-06-2008 at 12:29 PM. Reason: edit |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Copy Files to a specific folder | zinge | Networking and Computer Security | 3 | 07-01-2008 09:03 AM |
| Compiling source code with Ubuntu | RHochstenbach | Linux and Other OSes | 3 | 19-06-2007 09:45 PM |
| Specific network sharing | TheFire | Networking and Computer Security | 4 | 14-04-2006 04:54 AM |
| Non Specific CPU usage | illusion | Windows OS's | 11 | 01-02-2006 10:49 AM |
| Compiling | ProcalX | Linux and Other OSes | 3 | 08-10-2004 07:47 AM |