This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
classpath/bootclasspath question
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: java at gcc dot gnu dot org
- Date: Fri, 15 Mar 2002 11:55:07 +1300
- Subject: classpath/bootclasspath question
Currently there is a problem when you have a JDK's rt.jar on CLASSPATH
(a common configuration when using Jikes) and then try to build libgcj.
gcj picks up foreign classes from the rt.jar.
libjava needs to make sure that only its own classes are used during
compilation - any other classes including any existing libgcj.jar must
be ignored. What is the correct compiler option to say "use only this
classpath and nothing else"? I thought -bootclasspath would do this, but
now that I look at the manual this is apparantly not the case.
regards
Bryce.