Getting started with merged GCJ
Andrew Haley
aph@redhat.com
Sat Jan 27 17:35:00 GMT 2007
Jim Mayer writes:
> Hi all,
>
> First... I really, REALLY, TRULY (I promise) looked through the
> archives, FAQs, etc. before I sent this note!!! Really.... I promise!
>
> Anyway, I'd very much like to experiment with the new trunk version of
> GCJ, but I'm not having much luck building it. I was attempting to
> follow the directions at <http://gcc.gnu.org/java/build-snapshot.html>
> but that resulted in compilation errors yesterday (a warning) and the
> following messages with a version I updated last night:
>
> /home/jim/src/compile/objdir/gcc/gcj
> -B/home/jim/src/compile/objdir/i686-pc-linux-gnu/libjava/
> -B/home/jim/src/compile/objdir/gcc/ -ffloat-store -fomit-frame-pointer
> -fclasspath= -fbootclasspath=../../../gcc/libjava/classpath/lib
> --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c
> -fsource-filename=/home/jim/src/compile/objdir/i686-pc-linux-gnu/libjava/classpath/lib/classes -MT gnu/java/awt/color.lo -MD -MP -MF gnu/java/awt/color.deps @gnu/java/awt/color.list -fPIC -o gnu/java/awt/.libs/color.o
> gnu/java/awt/color/LinearRGBConverter.java: In class
> 'gnu.java.awt.color.LinearRGBConverter':
> gnu/java/awt/color/LinearRGBConverter.java: In method
> 'gnu.java.awt.color.LinearRGBConverter.toRGB(float[])':
> gnu/java/awt/color/LinearRGBConverter.java:0: internal compiler error:
> Illegal instruction
> Please submit a full bug report,
> with preprocessed source if appropriate.
>
> I see references in the list archives to "java maintainer mode",
> "ecj.jar", scripts that Tom Tromey wrote, etc... but I haven't seen any
> recommendations on how to get started.
>
> Help!
We need to know the commands you used to configure and build your
compiler. We need to know the system you're building on. Strangely,
people often don't tell us this.
Andrew.
More information about the Java
mailing list