compiling 32bit libraries on x86-64 system

Wichmann, Mats D mats.d.wichmann at intel.com
Fri Jan 2 07:42:26 PST 2009


xorg-bounces at lists.freedesktop.org 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
>
> LDFLAGS=-L/opt/X11R7-32/lib ./configure --prefix=/opt/X11R7-32
> --enable-32-bit --build=x86-linux
>
> appears to do the trick.
>
> But for some other modules this fails (for example, libX11 doesn't
> know the --enable-32-bit flag). Worse, there doesn't seem to be a
> clean way to separate 32 and 64bit libraries and have apps pick up
> the right libs when running a custom build...
>
> Am I missing something? Is there a readme or a wiki entry somewhere?
> Any suggestions?

will setarch help?



More information about the xorg mailing list