Building 32-bit binaries on Solaris
Alan Bateman
Alan.Bateman at oracle.com
Sat Nov 24 11:04:07 PST 2012
On 24/11/2012 17:57, Alan Bateman wrote:
>
> I'm on a Solaris SPARC system and by default the new build generates
> solaris-sparcv9 binaries. I'm looking to create 32-bit binaries which
> is the default on the old build system (unless you specify
> ARCH_DATA_MODEL) and trying to figure out the options to specify to
> configure. The guide suggests that --with-host-bits is Windows only.
> Is a build of 32-bit binaries considered a cross compile and should I
> specify --host?
>
> -Alan
Never mind, I found --with-target-bits=32. It might be good to get this
added to the guide as it's not very obvious that the default is 64-bit
whereas we are used to it being 32-bit on Solaris.
-Alan
More information about the build-infra-dev
mailing list