gcj -bootclasspath doesn't work anymore?

Tom Tromey tromey@redhat.com
Wed Sep 4 09:21:00 GMT 2002


>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

Mark> /usr/local/gcc33/bin/gcj -bootclasspath '' -classpath
Mark> ..:../vm/current:.: -C -d . @classes
Mark> gcj: couldn't run `/usr/local/gcc33/bin/ootclasspath-gcc-3.3': No such
Mark> file or directory

Mark> Was -bootclasspath with a single '-' ever meant to work or was
Mark> it an unsupported feature/bug?

Based on the code, the docs, and the email message for the original
patch, I'd say that only the `--' form was meant to work.  Further, I
think the single `-' form can't work because it conflicts with the
global gcc `-b' option.

That's unfortunate, though, since it means that `gcj -C' isn't drop-in
compatible with `javac' -- and can't be.

Maybe it is finally time to write a javac-like wrapper program that
interprets its arguments and invokes gcj?

Tom



More information about the Java mailing list