This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: Unrecognized option `-fclasspath=...'
- To: Oskar Liljeblad <osk at hem dot passagen dot se>
- Subject: Re: Unrecognized option `-fclasspath=...'
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 06 Sep 2000 16:56:54 -0600
- Cc: java-discuss at sourceware dot cygnus dot com
- References: <20000830205114.A26283@oskar>
- Reply-To: tromey at cygnus dot com
>>>>> "Oskar" == Oskar Liljeblad <osk@hem.passagen.se> writes:
Oskar> $ gcj -classpath /home/usel/Base/share/libgcj.zip --main=test -o test test.java
Oskar> cc1: Unrecognized option `-fclasspath=/home/usel/Base/share/libgcj.zip'
Oskar> cc1: Unrecognized option `-fclasspath=/home/usel/Base/share/libgcj.zip'
Use `--classpath', not `-classpath'. That works for me.
When I try your example I get an error about `-classpath...', not
`-fclasspath...'. That could be due to an obscure local change of
mine, though.
However, this does seem broken, because in theory `gcj -C' should be a
drop-in replacement for `javac'. Could you submit a PR for this?
Tom