|
From: | Per Bothner |
Subject: | Re: gcj inner class syntax sugar. |
Date: | Wed, 02 Mar 2005 09:27:29 -0800 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020 |
Steve Pribyl wrote:
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.
Not necessary. Alternatively: ./../kernel/com/netfuel/dir/dds/StorageProvider*.class should compile to ../../kernel/com/netfuel/dir/dds/StorageProvider.o Note that gcj allows: gcj -c Foo*.java -o Foo.o or: gcj -c Foo*.class -o Foo.o One suggested mode is to compile a whole package at once: gcj -c package/*.class -o package.o This actually speeds up compilation quite a bit, and may generate slightly better code. The only disadvanage is with statically linked archives, since most linkers can't split .o files. -- --Per Bothner address@hidden http://per.bothner.com/
[Prev in Thread] | Current Thread | [Next in Thread] |