This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]