This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


--- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]