Help using -I

Mohan Embar gnustuff@thisiscool.com
Wed Aug 6 05:14:00 GMT 2003


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






More information about the Java mailing list