help building custom libgcj
DHollenbeck
dick@softplc.com
Tue Jul 6 19:01:00 GMT 2004
Hi,
I am trying to build a custom libgcj, as a step separate from building
gcc. (I have previously made the entire gcc-3.4.0 tree successfully
along with the standard libgcj, with a target of i486-gnu-linux). Now I
want to re-make only the libgcj, but without AWT, GTK, or X, and with DEBUG.
What I have done is make this script in gccbuild/i486-linux/libjava:
../../../gcc-3.4.0/libjava/configure \
--target=i486-gnu-linux \
--enable-shared \
--enable-libgcj-multifile \
--enable-libgcj-debug \
--enable-interpreter \
--with-system-zlib \
--with-x=no \
--enable-java-awt=no \
--enable-gtk-cairo=no \
--enable-java-gc=boehm \
--with-gnu-ld
I run the above script with no errors.
Then when I run "make" from that same directory, I get:
$ make
Compiling Java sourcefiles...
/rt/gccbuild/gcc/gcj -B/rt/gccbuild/i486-linux/libjava/
-B/rt/gccbuild/gcc/ --encoding=UTF-8 -Wno-deprecated -C -g -classpath ''
-bootclasspath
/rt/gccbuild/i486-linux/libjava:../../../gcc-3.4.0/libjava -d
/rt/gccbuild/i486-linux/libjava @libgcj.sourcelist
find java gnu javax org -type d -o -type f -name '*.class' | \
sed -e '/\/\./d' -e '/\/xlib/d' | \
.././fastjar/jar cfM0E@ libgcj-3.4.0.jar
/bin/sh: line 1: .././fastjar/jar: No such file or directory
make: *** [libgcj-3.4.0.jar] Error 127
------------------------------------------
I have looked everywhere for documentation on how to build a custom libgcj.
Can anybody help please?
TIA
Dick Hollenbeck
More information about the Java
mailing list