gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GCC 4.1 on mingw platform


From: Xavier Glattard
Subject: Re: GCC 4.1 on mingw platform
Date: Tue, 29 May 2007 19:12:03 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]