On Mon, Jul 6, 2009 at 11:29 PM, devendra
ayalasomayajula<devendra_ayalasomayaj...@yahoo.com> wrote:
> Hi Daniel,
>
> I still get the same error
>
> 1) downloaded latest libtool and configured it as below
>     ./configure --host=i386-unknown-linux-gnu
> --build=x86_64-unknown-linux-gnu

On redhat you have to do it a little different to match the way they
name the gcc programs. Using the above --host, configure will try to
find i386-unknown-linux-gnu-gcc. Instead, try
--host=i386-redhat-linux. Then you should see configure picking
i386-redhat-linux-gcc as the compiler, which will generate 32 bit
binaries.

Alternatively, you can just bodge in -m32 in the CFLAGS to force a 32
bit binary to be built regardless of which compiler it picks.

--
Dan


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to