From: Bruce J. <bru...@go...> - 2012-03-28 11:20:44
|
Hello there I have a simple Java library that I use in an Android application and I would like to convert it using xmlvm using the posix backend on MacOS X 10.6. I have built and installed xmlvm as described in the docs, and that all looks good. My java classes are in a directoty called java, and I want the output in the directory src. When I enter: xmlvm --in=./java --out=./src --target=posix …I correctly get the directories src and dist created under src. diet contains just one file (Makefile) while src has a whole pile of .c and .h files as I would expect. If I then go into dist and type: make … I get the following message: mkdir -p build/ mkdir -p build/obj/ gcc -w -std=c99 -DALL_INTERIOR_POINTERS -DGC_THREADS -DTHREAD_LOCAL_ALLOC -DPARALLEL_MARK -DUSE_MMAP -DUSE_MUNMAP -DNO_DYLD_BIND_FULLY_IMAGE -I../src -c ../src/com_pure_media_MediaStore.c -o build/obj/com_pure_media_MediaStore.o In file included from ../src/com_pure_media_MediaStore.c:1: ../src/xmlvm.h:51:16: error: gc.h: No such file or directory make: *** [build/obj/com_pure_media_MediaStore.o] Error 1 I can see what's happening here, but I'm not sure what I need to install in order to get gc.h. Nothing in the documentation tells me I need to have anything else installed on my system in order to build for a posix backend, but obviously I'm missing something (probably the boemgc library?) or I don't have a path to appropriate headers set up. Can anyone help/advise? Thanks Bruce |