[Top][All Lists]

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

Re: cross-compiling on 64 to 32-bit Linux

From: Jan Engelhardt
Subject: Re: cross-compiling on 64 to 32-bit Linux
Date: Sat, 23 May 2009 22:20:35 +0200 (CEST)
User-agent: Alpine 2.00 (LSU 1167 2008-08-23)

On Saturday 2009-05-23 20:49, John Calcote wrote:

> Hi everyone,
> I was wondering what the procedure was for cross-compiling 32-bit apps on a
> 64-bin Linux system? Do you need special libraries. What command-line options
> are used? That sort of thing. I'm happy to read up on it, if there are
> references that you can point me to.

./configure CFLAGS=-m32 LDFLAGS=-m32

Some scripts- or better called logic - may inspect uname -m at times; so 
the safer variant is to additionally switch to a 32-bit personality 
using linux32.

linux32 ./configure CF...

reply via email to

[Prev in Thread] Current Thread [Next in Thread]