[Mono-list] boehm gc

Dick Porter dick@ximian.com
Sun, 28 Apr 2002 10:31:35 +0100


On Sat, Apr 27, 2002 at 05:09:05PM +0200, Guenther Roith wrote:
> when I want to compile mono with boehm, I get the following:
> I've got it in a directory libgc.
> What can I do?
> 
> checking for GC_malloc in -lgc... no
> configure: error: "GC requested but libgc not found!"

easy method: Use the build script for your platform

hard method: Make sure libgc.so (or dll or whatever the windows name is)
is in a directory that is searched by the linker at configure time, and
gc/gc.h is in a directory searched by the preprocessor.  You might need
to set CPPFLAGS and LDFLAGS before running configure.  See config.log for
more clues if it still doesnt find it.

- Dick