Re: Trouble building gcj 4.8.1

Matthias Klose <[email protected]> Mon, 24 Jun 2013 22:35:57 +0200
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
Am 24.06.2013 19:26, schrieb Andrew Haley:
> On 06/24/2013 06:17 PM, Mike Hearn wrote:
>>> It should have happened the last time there was a Classpath import.
>>> You should be able to see this in the revision history.
>>
>> Seems like it didn't always happen - compare:
>>
>> http://gcc.gnu.org/viewcvs/gcc/trunk/libjava/classpath/java/lang/?dir_pagestart=75
>> http://gcc.gnu.org/viewcvs/gcc/trunk/libjava/classpath/lib/java/lang/String.class?view=log
>>
>> The last time String.java was touched was 6 months ago, but the class
>> file was last updated 15 months ago.
>>
>> If I could make --enable-java-maintainer-mode work then it wouldn't
>> matter, but maybe re-genning the class files and checking them in
>> would be a good idea, seeing as they're provided.
> 
> OK, so let's try to find out why it doesn't work.  You must have an
> executable called ecj1 in your path for use by the build.  My ecj1 is:
> 
> #!/bin/sh
> unset LD_LIBRARY_PATH
> gij -cp /home/aph/gcc/trunk/ecj.jar \
>     org.eclipse.jdt.internal.compiler.batch.GCCMain \
>     ${1+"$@"}

and make sure to use the ecj.jar provided on gcc.gnu.org.

  Matthias