java/1465: path to classes.zip is compiled in to gcj at build time

bryce@albatross.co.nz bryce@albatross.co.nz
Wed Dec 20 12:28:00 GMT 2000


>Number:         1465
>Category:       java
>Synopsis:       path to classes.zip is compiled in to gcj at build time
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    tromey
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 20 12:20:19 PST 2000
>Closed-Date:    Wed Nov 10 07:35:01 PST 1999
>Last-Modified:  Wed Nov 10 07:40:00 PST 1999
>Originator:     Bryce McKinlay <bryce@albatross.co.nz>
>Release:        gcc 2.96
>Organization:
>Environment:
linux
>Description:
The default path to find libgcj's classes.zip is compiled
into gcj when the compiler is built. This makes it difficult
to relocate the compiler to somewhere other than where it
was configured for.

It would be better to have gcj try to locate classes.zip
based on where the gcj binary is located.

eg:
<directory containing gcj>/../shared/libgcj.zip

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Formerly PR gcj/84


From: Tom Tromey <tromey@cygnus.com>
To: bryce@albatross.co.nz
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/84: path to classes.zip is compiled in to gcj at build time
Date: Thu, 4 Nov 1999 18:54:33 -0800 (PST)

 >>>>> "Bryce" == bryce  <bryce@albatross.co.nz> writes:
 
 Bryce> It would be better to have gcj try to locate classes.zip
 Bryce> based on where the gcj binary is located.
 
 We have code to do that here at Cygnus.  It is based on general
 location-independence code in gcc.  However, to my knowledge, the
 location-independence code has never been submitted back to gcc.  My
 understanding is that nobody has had the time.  Has this changed?  If
 so, the gcj changes are trivial to bring over.  If not, I'll add it to
 my ever-growing list of things I wish I could do ...
 
 T
Responsible-Changed-From-To: apbianco->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Thu Nov  4 21:27:49 1999
Responsible-Changed-Why:
    I wrote the classpath code, and I have some state
    on this bug.
    

From: tromey@cygnus.com
To: apbianco@cygnus.com, bryce@albatross.co.nz,
  java-gnats@sourceware.cygnus.com, tromey@cygnus.com
Cc:  
Subject: Re: gcj/84
Date: 5 Nov 1999 05:27:49 -0000

 Synopsis: path to classes.zip is compiled in to gcj at build time
 
 Responsible-Changed-From-To: apbianco->tromey
 Responsible-Changed-By: tromey
 Responsible-Changed-When: Thu Nov  4 21:27:49 1999
 Responsible-Changed-Why:
     I wrote the classpath code, and I have some state
     on this bug.
     
 
 http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&database=java&pr=84
State-Changed-From-To: open->feedback
State-Changed-By: tromey
State-Changed-When: Tue Nov  9 17:38:42 1999
State-Changed-Why:
    I've put Cygnus' location independence changes into gcc.
    This includes the gcj changes.
    Please try it out and get back to me.
    Or, if you don't want to do that, tell me and I will 
    close this PR.

From: tromey@cygnus.com
To: bryce@albatross.co.nz, java-gnats@sourceware.cygnus.com, tromey@cygnus.com
Cc:  
Subject: Re: gcj/84
Date: 10 Nov 1999 01:38:42 -0000

 Synopsis: path to classes.zip is compiled in to gcj at build time
 
 State-Changed-From-To: open->feedback
 State-Changed-By: tromey
 State-Changed-When: Tue Nov  9 17:38:42 1999
 State-Changed-Why:
     I've put Cygnus' location independence changes into gcc.
     This includes the gcj changes.
     Please try it out and get back to me.
     Or, if you don't want to do that, tell me and I will 
     close this PR.
 
 http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&database=java&pr=84

From: Bryce McKinlay <bryce@albatross.co.nz>
To: tromey@cygnus.com
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/84
Date: Wed, 10 Nov 1999 22:01:27 +1300

 Hi Tom,
 
 Nice! I tried this out and it works well for me.
 
 regards
 
   [ bryce ]
 
 
State-Changed-From-To: feedback->closed
State-Changed-By: tromey
State-Changed-When: Wed Nov 10 07:35:01 1999
State-Changed-Why:
    It worked for Bryce.

From: tromey@cygnus.com
To: bryce@albatross.co.nz, java-gnats@sourceware.cygnus.com, tromey@cygnus.com
Cc:  
Subject: Re: gcj/84
Date: 10 Nov 1999 15:35:01 -0000

 Synopsis: path to classes.zip is compiled in to gcj at build time
 
 State-Changed-From-To: feedback->closed
 State-Changed-By: tromey
 State-Changed-When: Wed Nov 10 07:35:01 1999
 State-Changed-Why:
     It worked for Bryce.
 
 http://sourceware.cygnus.com/cgi-bin/gnatsweb.pl?cmd=view&database=java&pr=84
>Unformatted:




More information about the Gcc-prs mailing list