[Gc] Cannot make cord/tests/{cordtest,de}

张睿 <[email protected]> Wed, 8 Oct 2014 16:00:29 +0000
Newsgroups gmane.comp.programming.garbage-collection.boehmgc
Message-ID <[email protected]>
After ./configure and make && make install, I have only a gc.h under $(prefix)/include/, and the following files under $(prefix)/include/gc/ directory:


cord.h  gc_allocator.h  gc_config_macros.h  gc_gcj.h     gc_mark.h               gc_tiny_fl.h  gc_version.h  leak_detector.h
gc.h    gc_backptr.h    gc_disclaim.h       gc_inline.h  gc_pthread_redirects.h  gc_typed.h    javaxfc.h     weakpointer.h


There are two reasons that I cannot make cord/tests/{cordtest,de}.


First, cordtest.c and de.c include cord.h, which is not present in $(prefix)/include/ but $(prefix)/include/gc instead. The latter is not in gcc's search directories.


Second, cord_pos.h is not installed, but cord.h includes this file.


A quick fix for me is to copy cord_pos.h to $(prefix)/gc/ manually and replace #include "cord.h" with #include "gc/cord.h".


It seems to me that the building script needs to be updated for cord-related stuff. I have looked into the documentation (doc/README.cords) but I didn't find anything useful.

_______________________________________________
bdwgc mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/bdwgc