On Thu, Jan 01, 2009 at 08:23:05PM -0800, Dirk Hohndel wrote:
> I must be missing some 'configure' magic here...
>
> For some modules (like the X server) it's rather straight forward to
> build 32bit on a 64bit system. Something like

I have a bunch of scripts that wrap up my builds, and I have some
magic to build 32-bit libraries on 64-bit systems.  There are a couple
tricks that I use.

1. I call the top-level script as 'linux32 do_build.sh --libraries-only'

2. My do_build.sh scripts detects whether the architecture is 32-bit
or 64-bit by using 'uname -m'.  On 32-bit systems '-m32' is added to
CFLAGS and CXXFLAGS.

3. The architecture is also used to determine whether the library
install path is $prefix/lib64 or $prefix/lib.

Attachment: pgpbUOc0o2lqY.pgp
Description: PGP signature

_______________________________________________
xorg mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/xorg

Reply via email to