This is the mail archive of the java-discuss@sources.redhat.com 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]

Re: Unrecognized option `-fclasspath=...'


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

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