Re: gcc on 64 bits machine

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

 



ying lcs wrote:
Hi,

Can you please tell me can I use gcc 3.4 to compile a binary on a 64
bits machine? or I need to use gcc 4.1? I am running Red Hat
Enterprise Linux 4 and it comes with a gcc 3.4. Can I just use that to
compile a 64 bits binaries?

Thank you.

Yes, gcc-3.4, on x86-64, builds 64-bit programs. The x86-64 installation of either version of gcc requires the option -m32 (and the corresponding additional installed components) to build 32-bit binaries.

[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