Well, it's pretty weired. At the beginning we had problems linking
gnustep-base as DLL, now it's not possible to use it as a static library:

gcc -mno-cygwin -Xlinker --enable-stdcall-fixup -mdll -o
ovsys.junk -Wl,--base-file,ovsys.base ./__dllmain.o IsAdmin.o
CStringBuffer.o Syslog.o
OVSystem.o -LE:/root/usr/GNUstep/Libraries -Wall -lgnustep-base_s -lobjc_s -
lwsock32 -lwinspool

That's the error:
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-1/../../../../i686-pc-cygwin/bin/ld:
final link failed: File truncated
collect2: ld returned 1 exit status

As you can see, I am using cygwin's compiler with the -mno-cygwin option
(->mingw32). However, if I use the original mingw32-gcc, I get this message:

ld: final link failed: No error

This example shows the linkage to a DLL but I have this problem with
executables, too. Well... I also have an example which links fine. It's only
small, not complex.

Of course that's only a problem on Win32 :-/ but do you know what's wrong
here?



Michael



_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to