This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
PPC issues
I've just recently downloaded and compiled libgcj on ppc and ran into
a couple of issues in compiling. I think both problems come from the
configure
scripts. I don't have a real patch (I don't understand configure well
enought)
but I can point out the problems.
I put srcs in /home/duncan/temp/libgcj
I compiled in /home/duncan/temp/libgcj/objdir
1) libffi
In the
/home/duncan/temp/libgcj/objdir/powerpc-unknown-linux-gnu/nof/libjava
as a kludge I add the command -lffi to
jv_convert_LDFLAGS = --main=gnu.gcj.convert.Convert \
-rpath $(toolexeclibdir) -lffi
gij_LDFLAGS = -rpath $(toolexeclibdir) -lffi
I also manually modified the -L paths going into these commands to
include
a path to the ffi libraries.
2) I was not able to configure with --enable-threads=posix because
the is also a problem with GC_dlopen. I'm believe this is
also a problem with configure scripts not making the dyn_load.c
functions available in any library when trying to compile
jv-convert and gij.
After these compilation issues, I got a couple of very short programs to
run.
--
Wendell Duncan <duncan@intermountain.com>