gcj static crosscompiling raises issues with boehm-gc

Andreas Frisch andreas.frisch@multimedia-labs.de
Wed Oct 6 18:50:00 GMT 2010

good suggestions to come to the irc channel :)
thanks to aph i finally found a set of parameters which produces an executable:

	$(CROSS_COMPILE)gcj -o dumphd $(SOURCES)  --main=dumphd.core.DumpHD -
static-libgcj \
	-fjni \
	-L/dream/oe1.6/dm8000/build/tmp/staging/mipsel-oe-linux/usr/lib \
	-L/dream/projects/bluray/aacskeys-0.4.0c-mipsel/lib/linux/ \
linux/usr/lib \
-laacskeys \
	-Wl,-lstdc++ -lsupc++
	$(CROSS_COMPILE)strip --strip-all dumphd

mipsel$ file dumphd
dumphd: ELF 32-bit LSB executable, MIPS, version 1 (SYSV), for GNU/Linux 
2.6.12, dynamically linked (uses shared libs), stripped

i will test and evaluate on the embedded architecture tomorrow!

thanks for the quick and competent support!

More information about the Java mailing list