[Top][All Lists]

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

Re: [Mingw-users] Trying to compile libobjc with Hans-Boehm GCunder MinG

From: Lloyd Dupont
Subject: Re: [Mingw-users] Trying to compile libobjc with Hans-Boehm GCunder MinGW
Date: 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'

make clean
make gc=yes

It more or less work but fail at the link stage with that error
 Linking clibrary libobjc ...
c:\MinGW\bin\..\lib\gcc\mingw32\3.4.4\..\..\..\..\mingw32\bin\ld.exe: cannot find -lobjc_gc
collect2: ld returned 1 exit status
make[1]: *** [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:
make gc=yes

it was already provided but I repeat it for you :-)

Additional Info 1

Additional Info 2
just before I typed:
cd /G/GNUstep-SVN/dev-libs/gc6.6

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, isn't it?) beside: no this lib is no where and is not the one I was trying to build after all

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.

reply via email to

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