Christopher Armstrong <carmstrong <at> fastmail.com.au> writes:

> Has anyone else had any experience with gcc 4.1 on windows, particularly 
> with GNUstep? It would be interesting to hear about other people's 
> experience with this as well. Do people prefer cross-compilation (e.g. 
> produce a gcc cross-compiler for mingw target on a linux host)? I hope 
> this is not too off-topic for this list.

I do !

$ ../gcc-4.1.2/configure  --disable-win32-registry --disable-nls
--enable-optimize --prefix=/mingw --enable-sjlj-exceptions --disable-shared
--enable-threads --without-x --with-ld=/mingw/bin/ld
$ make CFLAGS="-O2 -fomit-frame-pointer" CXXFLAGS="-mthreads
-fno-omit-frame-pointer -O2" LDFLAGS=-s bootstrap2

i got some info there :
  http://www.mingw.org/MinGWiki/index.php/How%20to%20Compile%20GCC%204.1
But that was not so complicated :-)
(bison and flex are only needed with a snapshot, not with a release)

I can't get GNUstep  work with gcc libobjc (i posted here some weeks ago about
that) because this library is build as static and should be shared...
(--enable-shared=libobjc does not work ?!)
I dont really understand :-\

Xavier




_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to