This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: -classpath switch patch
- From: Per Bothner <per at bothner dot com>
- Cc: Nic Ferrier <nferrier at tapsellferrier dot co dot uk>, java-patches at gcc dot gnu dot org
- Date: Fri, 22 Feb 2002 17:46:28 -0800
- Subject: Re: -classpath switch patch
- References: <3C70D730.4000604@jatak.com> <3C7142F0.6050003@bothner.com> <3C7169EE.4040903@waitaki.otago.ac.nz> <87664u1kfx.fsf_-_@tf1.tapsellferrier.co.uk> <3C7185DB.6040301@waitaki.otago.ac.nz> <3C718A7F.1060501@bothner.com> <873czy1gxg.fsf@tf1.tapsellferrier.co.uk> <15473.41698.385817.823287@makita.cygnus.com> <87r8niz2pp.fsf@tf1.tapsellferrier.co.uk> <3C71A5AF.2010608@waitaki.otago.ac.nz> <15473.43041.412371.618641@makita.cygnus.com> <87k7t8xmmb.fsf@tf1.tapsellferrier.co.uk> <87n0y4knnd.fsf@creche.redhat.com>
Ok, it turns out that RHUG uses -fCLASSPATH=PATH when it should
probably have used --classpath (new definition) or the CLASSPATH
environment variable (maximally portable). Now we can change RHUG
- I think using -I shoudl work both for old and new compilers.
But I think the idea of using --CLASSPATH to set the entire path
was a mistake. I admit the fault may have been mine for mudding
up the waters, though I really don't like --bootclasspath unless
it does the same thing that Sun specifies.
Perhaps we should just make --classpath and --CLASSPATH be synonyms.
I don't know if we actually need the --bootclasspath functionality,
though I do think we should implement it, and it shouldn't be
that difficult.
We can add --wholeclasspath for the option that replaces both the
builtin and the boot classpaths. That could be implement easily
enough - just take Nik's original patch, and replace bootclasspath
by wholeclasspath. The we can think about implementing
bootclasspath. I'll take a look at this.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/