This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Trouble building gcj 4.8.1
- From: Andrew Haley <aph at redhat dot com>
- To: Mike Hearn <mike at plan99 dot net>
- Cc: GCC Java <java at gcc dot gnu dot org>
- Date: Mon, 24 Jun 2013 18:26:31 +0100
- Subject: Re: Trouble building gcj 4.8.1
- References: <CANEZrP3wxTPvx5Ky2O1qds427t9LxtSt0Bm3GntjcN63_0+3rw at mail dot gmail dot com> <CANEZrP0vTN_MAe4jOamUqKnkyXgNYJ-bsUnovANV36evGdJWPA at mail dot gmail dot com> <51C87C22 dot 9030201 at redhat dot com> <CANEZrP2woCNh4P+a-xTWqqz+PKEi01C0PU+D_TVu1jn2CeDaNw at mail dot gmail dot com>
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+"$@"}
Andrew.