gcj inner class syntax sugar.

Per Bothner per@bothner.com
Wed Mar 2 17:27:00 GMT 2005


Steve Pribyl wrote:
> 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.

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
per@bothner.com http://per.bothner.com/


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /