Re: Forcing native binaries to build as 32-bit on a 64-bit host OS?

Paul Eggleton

On Tuesday 20 November 2012 14:27:30 Jerrod Peach wrote:
My company has traditionally built all their code on 32-bit systems for
32-bit target architectures. We're now trying to move our build hosts to
64-bit OSes, but that's presenting us with a bit of a problem: some
non-trivial number of native packages don't want to properly build 64-bit
binaries. Rather than fix all those issues right now, we'd like to build
everything as a 32-bit binary on a 64-bit OS. The problem is, I'm not sure
how I'd go about forcing that to happen. Is there some simple mechanism I
can use to force all native packages to build as 32-bit on a 64-bit system?
Sorry for the delay in replying. I've not had to do this myself but I suspect
something like this might do it:

BUILD_ARCH = "i686"



Paul Eggleton
Intel Open Source Technology Centre

Join to automatically receive all group messages.