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

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

 



On Saturday 28 January 2006 10:35, Gilboa Davara wrote:
> On Sat, 2006-01-28 at 10:14 -0500, 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 ?
>
> Either add "ARCH=i386" before the ./configure line or add the "-m32"
> switch to gcc.

Thanks. That seems to work.
RDB
-- 
Reuben D. Budiardja
Dept. Physics and Astronomy
University of Tennessee, Knoxville, TN


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

  Powered by Linux