[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcj inner class syntax sugar.
From: |
Steve Pribyl |
Subject: |
Re: gcj inner class syntax sugar. |
Date: |
Wed, 02 Mar 2005 07:30:22 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 |
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/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) $@; fi
Steve
--
Steve Pribyl
Steve AT NetFuel dot com
Computer Infrastructure Practitioner
smime.p7s
Description: S/MIME Cryptographic Signature