gnustep-dev
[Top][All Lists]
Advanced

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

RE: Problem building gnustep-base tools with MinGW


From: Nicola Pero
Subject: RE: Problem building gnustep-base tools with MinGW
Date: Sun, 18 Mar 2007 03:03:27 +0100 (CET)

I rebooted under Windows XP and I can't reproduce your problem at all - it 
links fine for me (I removed the installed gnustep-base before trying). :-(

So I'm not sure why it doesn't work for you.

The only differences between my case and you case are ... my GCC is 3.4.2 
while you mention that you're using 4.1.2.  My GCC link command is also 
slightly 
different -- yours is:

gcc  -Wl,--enable-auto-import       -fgnu-runtime -o obj/autogsdoc.exe \
        ./obj/autogsdoc.o ./obj/AGSParser.o ./obj/AGSOutput.o ./obj/AGSIndex.o 
./obj/AGSHtml.o \
          -L../Source/./obj   -L/home/Xavier/GNUstep/Library/Libraries 
-LC:/GNUstep/Local/Library/Libraries -LC:/GNUstep/System/Library/Libraries   
-LC:/GNUstep/System/Library/Libraries 
-LC:/GNUstep/System/Library/Libraries/gnu-gnu-gnu 
-LC:/GNUstep/System/Library/Libraries -L/usr/local/lib   -lgnustep-base    
-lobjc  -lxslt -L/usr/local/lib -lxml2 -L/usr/local/lib -lz -lws2_32 -liconv 
-lcallback -lavcall -lbfd -liberty  -lws2_32 -ladvapi32 -lcomctl32 -luser32 
-lcomdlg32 -lmpr -lnetapi32 -lm -I. 

Mine is:

gcc  -Wl,--enable-auto-import       -fgnu-runtime -o obj/autogsdoc.exe \
        ./obj/autogsdoc.o ./obj/AGSParser.o ./obj/AGSOutput.o ./obj/AGSIndex.o 
./obj/AGSHtml.o \
          -L../Source/./obj   -L/home/Nico/GNUstep/Library/Libraries 
-L/usr/local/lib   -L/usr/local/lib -L/usr/local/lib/gnu-gnu-gnu 
-L/usr/local/lib   -lgnustep-base    -lobjc  -L/usr/local/lib -lxml2 -lz 
-liconv -lws2_32 -liconv -lcallback -lavcall -liberty  -lz -lws2_32 -ladvapi32 
-lcomctl32 -luser32 -lcomdlg32 -lmpr -lnetapi32 -lm -I. 

So you have -LC:/... while I have -L/... but I don't really see why that would 
matter at all.

You also mention using --enable-native-objc-exceptions ... I can't use it 
because
gnustep-make detects that my 3.4.2 GCC compiler doesn't support them.

If you are using --enable-native-objc-exceptions you may want to try again
with gnustep-make from trunk where we fixed the compile/link flags required
to use them. ;-)

Anyway, if you're using GCC 4.1.2 + native-objc-exceptions, that might be the 
cause
why the link stage is failing.  You can either figure out how to make native
ObjC exceptions to work on GCC 4.1.2, or you could fall back to the 
tried-and-tested
GCC 3.4.2 with no native ObjC exceptions ;-)

Hope this helps somehow

Thanks




-----Original Message-----
From: address@hidden
Sent: Fri, March 16, 2007 4:59 pm
To: address@hidden
Subject: Problem building gnustep-base tools with MinGW

Hi

I'm trying to rebuild my GNUstep system from svn.

0) WinXP/MinGW/MSYS, GCC412
1) gnustep-make is installed in C:/GNUstep
2) gnustep-libobjc is installed
   *Note* : gnustep-libobjc dont work with native_objc_exceptions
   and base can be linked against gcc-libobjc (is that correct?)
3) ffcall, etc.. are installed
4) gnustep-base fails in linking autogsdoc : it can't find any GS class
   that have just been built (see log)

Thanks for your help

Xavier

_______________________________________________
Gnustep-dev mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/gnustep-dev





reply via email to

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