This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Help using -I
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: Ryan Boder <icanoop at bitwiser dot org>, Anthony Green <green at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: Wed, 06 Aug 2003 00:15:14 -0500
- Subject: Re: Help using -I
- Reply-to: gnustuff at thisiscool dot com
>-I only modifies the classpath, it doesn't tell the compiler what to
>include in the link.
>
>I believe your link line should look like this:
>
> gcj --main=bob.Main bob/Main.java bob.jar -o $@ $<
P.S. You don't need javac either. You can use gcj -C in your Makefile.
Much faster.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/