Re: Compiling/generate 32-bit version of a program on x86-64

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

 





Reuben D. Budiardja wrote:
Hello,
My platform is AMD-64 running Fedora 4 64-bit version. Is there a way for me to compile and generate 32-bit version of a program ( in C )? How does one do that using GCC ? Since 64-bit version also install all the 32-bit compatibility library, that should not be a problem, is it ?
Adding -m32 to the cflags should do the trick.

Steve


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux