Re: [AD] debian mingw32 notes

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


I'm going to apply the attached patch - maybe you can test if
cross-compiling works with it for you?

I removed my symlinks and tried with:

./fix.sh mingw32 --quick
export MKDIR_OPTS=-p
export XPREFIX=i586-mingw32msvc-
export CROSSCOMPILE=1
export MINGDIR=/usr/i586-mingw32msvc
make
make install

And seems to work - so the docs should be right now.

-- 
Elias Pschernig <elias@xxxxxxxxxx>
Index: makefile.mgw
===================================================================
RCS file: /cvsroot/alleg/allegro/makefile.mgw,v
retrieving revision 1.94
diff -u -r1.94 makefile.mgw
--- makefile.mgw	29 Feb 2004 09:57:12 -0000	1.94
+++ makefile.mgw	7 Jun 2004 10:18:20 -0000
@@ -24,6 +24,7 @@
 
 ifdef CROSSCOMPILE
    UNIX_TOOLS = 1
+   CC = $(XPREFIX)gcc
 endif
 
 ifdef ALLEGRO_USE_CYGWIN


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/