This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Multiple file compilation patch
>>>>> "Per" == Per Bothner <per@bothner.com> writes:
Per> I then downloaded KopiSusu-1.9b2.tar.gz. In settings I changed I
Per> added COMPILER="gcj -C". I had to modify make.sh because for
Per> some readon gcj -c -classpath would act the way -CLASSPATH is
Per> supposed to - i.e. override the default classpath.
This happens because gcj was written against an earlier "spec". I
believe in 1.1 the -classpath option did override the default
classpath.
With the 1.2 javac there doesn't seem to be any way to override the
default.
You can see the 1.1 info here:
http://java.sun.com/products/jdk/1.1/docs/tooldocs/solaris/javac.html
You can compare against the 1.2 stuff here:
http://java.sun.com/products/jdk/1.2/docs/tooldocs/solaris/classpath.html
I agree that we should follow javac. I'm ambivalent about fixing this
for 3.0, though.
Tom