Hey Folks,
I am trying to build an application using GCJ.
GCJ creates file with "$" in the name. The causes all kinds of problems when trying to compile *.class files and then putting the resulting *.o in to a *.a.
Any suggestions on how to cope with this without rewriting all the automatic rules?
The most annoying example is this ../../kernel/com/netfuel/dir/dds/StorageProvider$1DomainStarter.class should compile to ../../kernel/com/netfuel/dir/dds/StorageProvider$1DomainStarter.o and then get archived.
Makefile snipits.
%.o:%.class
$(GCJ) -c -o $@ $(GCJFLAGS) $<%_g.o:%.class
$(GCJ) -c -o $@ $(GCJFLAGS) $<
GCJ_BOOT_JAVA_PARTS=$(shell find ../com -name "*.class") GCJ_BOOT_PARTS=$(GCJ_BOOT_JAVA_PARTS:.class=.o)
libboot.a: GCJFLAGS=$(GCJFLAGS) -I.. -I. -I../../kernel $(OPTIMIZE_FLAGS)
libboot.a: $(GCJ_BOOT_PARTS) libboot.a($(GCJ_BOOT_PARTS))
if [ "$(RANLIB)" ] ; then $(RANLIB) $@; fiThanks -- Steve Pribyl Steve AT NetFuel dot com Computer Infrastructure Practitioner
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
