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: xavier . glattard
Subject: RE: Problem building gnustep-base tools with MinGW
Date: Mon, 19 Mar 2007 18:11:11 +0100
User-agent: Internet Messaging Program (IMP) 3.2.5

Selon Nicola Pero <address@hidden>:

> 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.

Neither do i :-(
I looks like the libgnustep-base that has just been built is incomplete...
Anyway : thanks for the time you spent on this problem

> 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.

I tried with gcc 3.4.2 from MinGW and it fails too.
I re-installed mingw, msys and all libs... nothing changed...
I cant even build the old release version !!

I really dont understand anything. I give up for today :-\

> My GCC link command is also slightly different
(...)
> 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.

With layout=fhs 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/Xavier/GNUstep/Library/Libraries
 -L/usr/local/lib   -L/usr/local/lib -L/usr/local/lib/gnu-gnu-gnu
 -L/usr/local/lib -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  -lz -lws2_32
 -ladvapi32 -lcomctl32 -luser32 -lcomdlg32 -lmpr -lnetapi32 -lm -I.

> 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.

I tried but i cant. As i said --enable-native-objc-exceptions is only accepted
by gnustep-make configure script when i dont install gnustep-libobjc (use gcc
one instead) but then i can't build gnustep-base (i may send you more detail).
With gnustep-libobjc at least the library is built, i only cant build tools.


> 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





reply via email to

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