This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj on HP-UX
Andreas> Well, I do not know if that works: --without-libffi.
Yeah, that's what you want.
Andreas> Anyway, a libgcj without libffi does not do anything useful :)
I know you have a smiley here... but actually without libffi you can
run precompiled code. That's doing quite a lot. You just can't use
the interpreter, JNI, or things like Method.invoke(). This means a
lot of real applications won't work. However, if your app is written
for gcj, you can still use it.
Andreas> Need to tune libffi and some configury stuff in libgcj.
These days for unixy platforms, if the GC works, then the rest ought
to work to a minimal level once you have the proper settings in
configure.host.
Getting a really solid port means writing
MD_FALLBACK_FRAME_STATE_FOR in the compiler, which is quite difficult.
Without this your port will have some deficiencies, namely null pointer
dereferences in CNI code will not be caught.
Tom