can't get a simple package example to compile with gcj

Christopher Marshall christopherlmarshall@yahoo.com
Wed Oct 22 15:34:00 GMT 2003


--- Lars Andersen <lars@rimfaxe.com> wrote:
> compile pkgtest.java and B.java in one line :
>> gcj --main=pkgtest -o pkgtest pkgtest.java B.java
>> ... or for larger projects compile single or groups of java files into 
> object files, and link them together :
>>> gcj -c pkgtest.java -o pkgtest.o
> gcj -c B.java -o B.o
> gcj --main=pkgtest -o pkgtest pkgtest.o B.o
>>> /Lars Andersen
>
Lars:
Thanks for spelling that out. That's exactly what I needed to know.
Chris Marshall
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


More information about the Java mailing list

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