This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: fix for CLASSPATH/classpath switch behaviour
Tom Tromey <tromey@redhat.com> writes:
> >>>>> "Nic" == Nic Ferrier <nferrier@tapsellferrier.co.uk> writes:
> Nic> -classpath appends extra class locations to the system and
> Nic> CLASSPATH class paths.
> Nic> -bootclasspath and -CLASSPATH overrides the CLASSPATH and builtin
> Nic> Anyone any views?
>
> Let's simply get rid of -CLASSPATH and replace it with -bootclasspath.
> I think -CLASSPATH doesn't add anything above what -classpath and
> -bootclasspath provide.
>
> This will require a change to gcc/gcc.c in addition to the other
> stuff.
Will it?
I'll look at that.
> I do think we should keep -I, since it is actually useful.
> I use it in preference to the other options, since I find it easier to
> remember and understand.
Ok. What I'm suggesting though is that -classpath be the same as what
-I is now. It should not override the CLASSPATH environment variable.
Nic