Hello,

I'm trying to compile libgcj for arm in order to use gcj.
The full toolchain has been already installed, and I need to install
this library (which is not given with gcc).

I have downloaded libgcj on:
cvs -d :pserver:[EMAIL PROTECTED]:/cvs/java login
  (password is ``anoncvs'')
cvs -z 9 -d :pserver:[EMAIL PROTECTED]:/cvs/java co libgcj

configure the install with:
mkdir build
cd build
AS=arm-linux-as LD=arm-linux-ld CC=arm-linux-gcc AR=arm-linux-ar
RANLIB=arm-linux-ranlib ../libgcj/configure --disable-literals
--target=arm-linux --host=i686-pc-linux-gnu --prefix=/home/pgo/build
--enable-threads=posix

when I do make, I catch a lot of errors like these:
arm-linux-gcj -C -L/home/pgo/build/arm-linux/libjava -g -classpath
/home/pgo/build/arm-linux/libjava:/home/pgo/libgcj/libjava -d
/home/pgo/build/arm-linux/libjava java/lang/ConcreteProcess.java
/home/pgo/libgcj/libjava/java/lang/String.java:41: sorry, not
implemented: : `inner class instance creation' JDK1.1(TM) feature
/home/pgo/libgcj/libjava/java/util/Hashtable.java:679: Illegal modifier
`private' for class declaration.
  private static class HashtableEntry extends Bucket.Node implements
Map.Entry
  ^
/home/pgo/libgcj/libjava/java/util/Hashtable.java:679: Illegal modifier
`static' for class declaration.
  private static class HashtableEntry extends Bucket.Node implements
Map.Entry
          ^
/home/pgo/libgcj/libjava/java/util/Hashtable.java:701: sorry, not
implemented: : `inner classe declaration' JDK1.1(TM) feature
/home/pgo/libgcj/libjava/java/util/Hashtable.java:713: Illegal modifier
`private' for class declaration.
  private class HashtableEnumeration implements Enumeration
  ^
/home/pgo/libgcj/libjava/java/util/Hashtable.java:746: sorry, not
implemented: : `class literals' JDK1.1(TM) feature
/home/pgo/libgcj/libjava/java/util/Hashtable.java:767: sorry, not
implemented: : `class literals' JDK1.1(TM) feature


Could anyone explain me what does that mean? Is there a special option
to add to the gcj command line?

Does somebody has libgcj installed on a arm machine?

Thank you.

Paul GOUNOT.

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to