Re: [Gc] Cannot make cord/tests/{cordtest,de}
Ivan Maidanski <ivmai-JGs/[email protected]> Thu, 23 Oct 2014 12:30:45 +0400
| Newsgroups | gmane.comp.programming.garbage-collection.boehmgc |
|---|---|
| Message-ID | <[email protected]> |
Hi, I fixed second issue - https://github.com/ivmai/bdwgc/commit/b519011261256f8b5b0f3d9868536271c78b53f5 About 1st one, I don't completely understand it. "./configure && make test" compiles and executes cordtest. Regards, IIvan Wed, 8 Oct 2014 16:00:29 +0000 from 张睿 <[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 _______________________________________________ bdwgc mailing list [email protected] https://lists.opendylan.org/mailman/listinfo/bdwgc