Modular build using mingw to cross-compile for server Xming

Alan Hourihane alanh at fairlite.demon.co.uk
Wed Jan 25 06:47:12 PST 2006


On Wed, 2006-01-25 at 12:35 +0000, Colin Harrison wrote:
> Hi,
> 
> I'm trying to swim in the deep end on a cross-compile server modular build.
> 
> I build the monolith (config mingw.cf) 
> make World CROSSCOMPILEDIR=/usr/local/cross-tools/i386-mingw32msvc/bin
> for .DLL's libraries and the Xming server and xkbcomp (i.e. built on Linux,
> ported to MS Windows)
> 
> and have been following the guide on
> http://xorg.freedesktop.org/wiki/ModularDevelopersGuide#head-d612609135ac46c
> ee9580538eb410c96842700db
> to attempt a modular build
> 
> All build tools are MinGW, as in
> export PATH=/usr/local/cross-tools/i386-mingw32msvc/bin:$PATH
> 
> I hit loads of problems, but know its gonna be painful and/or fun (details
> are probably superfluous at this stage)
> 
> Fundamental questions:-
> 
> 1) I assume I should be running ./configure --host=mingw32, some packages
> are OK with this, some are not?
> 2) I want .DLL's from the libraries but only get .a's?
> 3) It looks as if the Win32 port has been anticipated? any good URL's or
> pointers will help.
> 4) Xming shares the same code base as Cygwin/X, has anyone attempted
> building modular for Cygwin/X?

I had built it a couple of months ago just before the final release, but
it was a native build and it worked fine.

I'm not sure how well cross-compilation has been tested for Win32 builds
though, as I've certainly not attempted it.

Alan.




More information about the xorg mailing list