* Build biarch compiler on 32 bit machine
@ 2006-07-18 18:05 Veena Abraham
2006-07-18 19:51 ` Kai Ruottu
0 siblings, 1 reply; 2+ messages in thread
From: Veena Abraham @ 2006-07-18 18:05 UTC (permalink / raw)
To: gcc-help
Hi,
I want to able to build my application on a 32-bit
machine (FC5 on x86) to run on a small range of Linux
distros on 32 as well as 64-bit platforms. The gcc
compiler that I have on the FC5 installation does not
support 64-bit mode.
I would like to know if it is possible to build a
biarch gcc compiler for the FC5 installation on
32-bit?
Regards,
Veena
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Build biarch compiler on 32 bit machine
2006-07-18 18:05 Build biarch compiler on 32 bit machine Veena Abraham
@ 2006-07-18 19:51 ` Kai Ruottu
0 siblings, 0 replies; 2+ messages in thread
From: Kai Ruottu @ 2006-07-18 19:51 UTC (permalink / raw)
To: Veena Abraham; +Cc: gcc-help
Veena Abraham wrote:
> I want to able to build my application on a 32-bit
> machine (FC5 on x86) to run on a small range of Linux
> distros on 32 as well as 64-bit platforms. The gcc
> compiler that I have on the FC5 installation does not
> support 64-bit mode.
>
> I would like to know if it is possible to build a
> biarch gcc compiler for the FC5 installation on
> 32-bit?
>
Yes, as a crosscompiler to some 'x86_64-<vendor>-linux-gnu'
target where the '<vendor>' is 'suse', 'fedora', 'ubuntu',
'mandriva', 'debian' etc. Whether the products from these
'vendor's are fully binary compatible is the big question. Or
whether they are compatible with a 'clean' toolchain produced
from the FSF sources: binutils, GCC and glibc...
When not knowing what the exact situation is, one can just
use "brute force" and put the modern 3 GHz 32-bit PC to build
crosstools for each one... But your "small range of Linux distros
on 32 as well as 64-bit platforms" could tell your choice: If
targeting to FC3 - FC5, i386 and x86_64, a crosstoolchain made
for 'x86_64-fedora3-linux' and it using glibcs from FC3/x86_64
and FC3/i386 could be enough. Surely the executables made
for FC3 should work on FC3 - FC5 !
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-18 19:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-18 18:05 Build biarch compiler on 32 bit machine Veena Abraham
2006-07-18 19:51 ` Kai Ruottu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).