[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling 32 bit lib on 64 bit OS
From: |
Zack Weinberg |
Subject: |
Re: Compiling 32 bit lib on 64 bit OS |
Date: |
Tue, 14 Apr 2015 22:54:49 -0400 |
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 <address@hidden> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/autoconf