I got the same problem and I just put the file libobjc.a in the directory where
are the library for Mingw. For example if you install Mingw in c:\Mingw the the
directory for libraries is c:\Mingw\lib.
I'll need to do that for every libraries from ffcall, base and gui.
Hi,
I think flags are set correctly( it includes /c/GNU/System/Libraries where
libobjc.a
resides ). But why it cannot find libobjc.a???
Thanks in advance.
make messages=yes results;
$ make messages=yes
Making all in subprojects of library libgnustep-base...
make[1]: Entering directory `/c/GNU/home/NeXT/base/Source/Additions'
Making all for subproject Additions...
make[2]: Nothing to be done for `internal-subproject-all'.
make[1]: Leaving directory `/c/GNU/home/NeXT/base/Source/Additions'
Making all for library libgnustep-base...
dllwrap --driver-name gcc \
\
--def derived_src/libgnustep-base.def \
-o shared_obj/gnustep-base.dll shared_obj/md5.o shared_obj/numbers.o
shared_obj/GSCompatibility.o shared_obj/GSLocale.o shared_obj/Unicode.o
shared_obj/behavior.o shared_obj/preface.o shared_obj/mframe.o
shared_obj/libgnustep-base-entry.o shared_obj/GSArray.o shar......
...
hared_obj/NSNumber6.o shared_obj/NSNumber7.o shared_obj/NSNumber8.o
shared_obj/NSNumber9.o shared_obj/NSNumber10.o shared_obj/NSNumber11.o
shared_obj/NSNumber12.o Additions/shared_obj/subproject.o \
-Lc:\GNU\System\Libraries -L./shared_obj -
LC:/GNU/home/NeXTGNUstep/Libraries -Lc:\GNU\Local\Libraries -
Lc:\GNU\Network\Libraries -Lc:\GNU\System\Libraries -lobjc -lz -lws2_32 -
ladvapi32 -lcomctl32 -luser32 -lcomdlg32 -lmpr -lnetapi32 -lm -I. \
C:\GNU\Developer\bin\..\lib\gcc-lib\mingw32\3.2\..\..\..\..\mingw32
\bin\ld.exe: cannot find -lobjc
C:\GNU\Developer\bin\dllwrap.exe: gcc exited with status 1
make[1]: *** [shared_obj/gnustep-base.dll] Error 1
make: *** [libgnustep-base.all.library.variables] Error 2