[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Building 32-bit libraries on 64-bit machine



On 07.06.2013 10:58, Ashwin Kumar wrote:
> I am using a 64 bit machine to build OpenLDAP libraries. Building 64-bit
> libraries works fine.
> 
> Is there any switch for the configure script to build the 32-bit libraries.
> Is this documented anywhere?
> 
> --
> Ashwin kumar
> (http://ashwinkumar.me)
> 

Hi,

set the environment variable CFLAGS="-m32" before running configure.
That'll pass the -m32 switch to gcc, which tells it to make 32 bit binaries.


Regards,
Christian Manal