[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: Re: Building 32-bit server on 64-bit system?
From: Alexander Gottwald <alexander.gottwald () s1999 ! tu-chemnitz ! de>
Date: 2005-03-31 9:02:22
Message-ID: Pine.LNX.4.58.0503311058120.31616 () odoaker ! hrz ! tu-chemnitz ! de
[Download RAW message or body]
On Wed, 30 Mar 2005, Ian Romanick wrote:
> Is there a known incantation, short of using a cross-compiler, to build
> a 32-bit i386 server on an 64-bit x86-64 system?
>
> I tried setting CcCmd (and CplusplusCmd) to "gcc -m32", adding #undef
> AMD64Architecture, and adding #define i386Architecture to my hosts.def.
> After copying libfl.a from a 32-bit system to /usr/lib, I can get
> things most of the way built. However, I'm now hitting problems with
> the freetype2 and fontconfig libraries.
>
> I figure that *someone* must have already gone through this exercise
> once by now.
>
> /me wants a modularized libglx and libGLcore. :(
This smells like crosscompiling.
The cygwin gcc can compile for mingw too if i add the switch -mno-cygwin to
the gcc commandline. So I've created the directory /usr/i686-pc-mingw/bin and
put wrapper scripts for gcc, cc, g++ and the binutils there and compiled Xorg
with make World CROSSCOMPILEDIR=/usr/i686-pc-mingw/bin
The crosscompile environment should settle everything else.
BTW: I've also added UseInstalledOnCrossCompile YES to host.def
bye
ago
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic