This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: classpath/bootclasspath question
- From: Tom Tromey <tromey at redhat dot com>
- To: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- Cc: java at gcc dot gnu dot org
- Date: 14 Mar 2002 16:45:25 -0700
- Subject: Re: classpath/bootclasspath question
- References: <3C912A4B.5020900@waitaki.otago.ac.nz>
- Reply-to: tromey at redhat dot com
>>>>> "Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
Bryce> libjava needs to make sure that only its own classes are used
Bryce> during compilation - any other classes including any existing
Bryce> libgcj.jar must be ignored. What is the correct compiler option
Bryce> to say "use only this classpath and nothing else"? I thought
Bryce> -bootclasspath would do this, but now that I look at the manual
Bryce> this is apparantly not the case.
My reading of the manual is that you would have to specify both
-classpath (to override the environment variable) and -bootclasspath
(to override the built-in libgcj.jar).
This certainly seems weird. But I think JDK compatibility is more
important than having the "best" interface (bleah). Is this what the
JDK requires? Or are we subtly divergent? (I haven't looked.)
Tom