Re: x86 32-bits compiler use on a 64-bits machine ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christophe LYON wrote:
> Hello,
> 
> I have built GCC (various releases) on a x86 32 bits machine and I need
> to use the same binary (accessed via NFS) on a x86 64 bits machine.
> 
> Will I get the same result with "gcc 64 bits + -m32" and with "gcc 32
> bits" ?

Yes.

> ie will "-m32" will configure everything or are there some issues?

> I will need to link object files produced by both compilers: will this
> work?

Yes.

> The documentation only mentions the size of int and pointer types.

The gcc documentation talks only about gcc; you're asking about the
system linker.

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux