Re: Compiling 32 bit lib on 64 bit OS

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

 



Try this:

./configure CC="cc -m32"  CXX="c++ -m32"

If that gives you the "C compiler cannot create executables" error
message, you need to install the 32-bit development environment.

On Tue, Apr 14, 2015 at 4:05 PM, Scott Fererro <Scott.Fererro@xxxxxxxx> wrote:
> I am working on a Linux box and trying to compile a library using autoconf.  The problem I am having is that it is a 64 bit OS so autoconf using the 64 bit options.   I need the library to be 32 bit.  This is because the application that will be using it is compiled as 32 bit.  Is there a way to force autoconf to compile it as 32 bit?
>
> Thanks.
> Scottf
> ________________________________
> All emails in this message string and any attachments are the confidential information of CSG Systems International, Inc. (CSG), or its affiliates and subsidiaries, and may contain privileged and/or confidential material. If you are not an intended recipient, please delete it immediately and notify the sender; unintended recipients are not authorized to read or otherwise use the information contained herein.
> _______________________________________________
> Autoconf mailing list
> Autoconf@xxxxxxx
> https://lists.gnu.org/mailman/listinfo/autoconf

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux