This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: can't get a simple package example to compile with gcj
- From: Christopher Marshall <christopherlmarshall at yahoo dot com>
- To: Lars Andersen <lars at rimfaxe dot com>, java at gcc dot gnu dot org
- Date: Wed, 22 Oct 2003 08:34:17 -0700 (PDT)
- Subject: 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