This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: BigInteger build problem - again
- To: Matt Welsh <mdw at CS dot Berkeley dot EDU>
- Subject: Re: BigInteger build problem - again
- From: Matt Welsh <mdw at CS dot Berkeley dot EDU>
- Date: Wed, 26 Apr 2000 16:35:51 -0700
- cc: java-discuss at sourceware dot cygnus dot com
- Reply-To: Matt Welsh <mdw at CS dot Berkeley dot EDU>
Matt Welsh <mdw@CS.Berkeley.EDU> writes:
>
> I am building the latest CVS libgcj using gcc-2.95.2 with Bryce's
> latest patch (2000-04-18). However, I get the following error
> while compiling libgcj:
>
> Premature end of .class file /home/cs/mdw/disks/mm33/egcs-jaguar/build/libgcj
> -cvs/i686-pc-linux-gnu/libjava/java/math/BigInteger.class.
Turns out this is because it was picking up an older gcj on my PATH.
I propose that to avoid this, running 'gcc' and 'gcj' should not
rely on the user's PATH, but should be executed directly from the install
target of libgcj. This should be an easy Makefile fix, right?
Matt