gcj inner class syntax sugar.
Steve Pribyl
steve@netfuel.com
Wed Mar 2 13:43:00 GMT 2005
Thanks Andrew and Paul,
Changing the names is not really an options as they are defined by the java spec.
I would prefer to compile the *.java files but I am trying to get around and gcj
compiler problem.
I can compile the jar on a Linux but not solaris due to a emit bug.
I can't compile the *.java anywhere, due to a bug.
So I am trying to comprimise by compiling the java byte code.
But that is not really the problem at had.
A quick recap
The most annoying example is this
../../kernel/com/netfuel/dir/dds/StorageProvider1ドルDomainStarter.class
should compile to
../../kernel/com/netfuel/dir/dds/StorageProvider1ドルDomainStarter.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) $@; fi
Steve
--
Steve Pribyl
Steve AT NetFuel dot com
Computer Infrastructure Practitioner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4706 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://gcc.gnu.org/pipermail/java/attachments/20050302/7b3065c7/attachment.bin>
More information about the Java
mailing list