Cross-compliling for Kaffe for ARM-LINUX

Alexandre Oliva kaffe@rufus.w3.org
24 May 2000 07:06:43 -0300


On May 24, 2000, Euisung Kang <e.kang@ieee.org> wrote:

> However, when I compile a java program (e.g. #javac hello.java),
> 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 http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company        aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist    CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org}   Write to mailing lists, not to me