fix for CLASSPATH/classpath switch behaviour

Nic Ferrier nferrier@tapsellferrier.co.uk
Tue Feb 12 09:15:00 GMT 2002


Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:

> Nic Ferrier wrote: 
>  
> >The current GCJ switches are incompatible with Sun's. This means it's 
> >very difficult to write portable makefiles or to switch from Sun's 
> >compiler to GCJ. 
> > 
> >The attached patch fixes the switching problem for the following 
> >programs: 
> > 
> >- gcj 
> >- jcf-dump 
> >- gcjh 
> > 
> >The patch also fixes the GCJ texinfo manual. 
> > 
> > 
> >+  printf ("  --bootclasspath PATH    Set path to find .class files including vm classes\n"); 
> > 
>  
> I suggest that this be changed to something like "Set path to find  
> .class files, overriding built-in class path". 

I tried that but it broke the line.

I've put it in and attached another diff so you can see what I mean.


>  
> Otherwise, I don't have authority to approve compiler patches, but this  
> patch looks like the right thing to do to me. Alex? 

I couldn't work out whether this went to gcc-patches or not.

I hope it did.


Nic

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cp-switch.diff
Type: text/x-patch
Size: 14611 bytes
Desc: classpath switch patch
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20020212/ed4e41b6/attachment.bin>


More information about the Java-patches mailing list