[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-users] Trying to compile libobjc with Hans-Boehm GCunder MinG
Re: [Mingw-users] Trying to compile libobjc with Hans-Boehm GCunder MinGW
Thu, 15 Jun 2006 00:24:05 +1000
I donwloaded (from http://www.hpl.hp.com/personal/Hans_Boehm/gc/), build
and installed Boehm GC.
Now I'm trying to build 'objc.dll'
It more or less work but fail at the link stage with that error
Linking clibrary libobjc ...
cannot find -lobjc_gc
collect2: ld returned 1 exit status
make: *** [shared_obj/libobjc.dll.a] Error 1
make: *** [libobjc.all.clibrary.variables] Error 2
Any idea what's going on and how to fix it?
Please provide the EXACT commands you used.
The exact command is:
it was already provided but I repeat it for you :-)
Additional Info 1
Additional Info 2
just before I typed:
and I copied the .libs directory content in C:\MinGW\bin
and I copied the include content directory in C:\MinGW\include
Just in case you aren't aware what the error means:
During the build process it looks for a library libobj_gc.a
(or libobjc_gc.dll or objc_gc.dll or something similar) which
presumably is the garbage collector you wish it to use.
I was aware and wondered what this library could be?!?
looks like the potential of the library I was building! (kind of weird,
beside: no this lib is no where and is not the one I was trying to build
The reason could e.g. be:
this library doesn't exist and should not be mentioned in the makefile
and if I removed it it link nicely without warning.
Additional Info 3
HansBoehmGC is: libgc.a
and yes it's there (I just build it)
Perhaps it was too way out of topic to post that on MinGW too.
I will limit further post to GNUstep only.
Your answer was so way out of topic <sigh>
But thanks anyway.