Cross-compliling for Kaffe for ARM-LINUX

Alexandre Oliva oliva at
Wed May 24 03:06:43 PDT 2000

On May 24, 2000, Euisung Kang <e.kang at> wrote:

> However, when I compile a java program (e.g. #javac,
> I get the following error message. I am trying to correct this problem.
> Any help?

It's not just Kaffe that must be compiled with -fPIC.  In fact, it's
alreayd compiled with -fPIC by default.  It's any other libraries that
Kaffe uses, such as zlib, gmp, etc (see FAQ/FAQ.requiredlibraries)
that must be shared libraries or at least built with -fPIC.

The alternative is to upgrade glibc to some recent release that
doesn't present this dynamic linker bug.

Alexandre Oliva    Enjoy Guaraná, see
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{,}   Write to mailing lists, not to me

More information about the kaffe mailing list