[kaffe] Re: porting kaffe to arm/uCLinux
Andrea Scian
andrea.scian at wawnet.biz
Tue Mar 9 08:55:02 PST 2004
I have successfully ported Kaffe on an ARM7 MMU-less CPU on uClinux
(distribution 20030305, kernel 2.4.19) so maybe I can help you.
First of all from:
> /usr/local/arm-elf/bin/gcc -shared .libs/ByteToCharDefault.o
.libs/ByteToCharIconv.o
> .libs/CharToByteDefault.o .libs/CharToByteIconv.o
.libs/ObjectInputStream.o .libs/Class.o
> .libs/ClassLoader.o .libs/Compiler.o .libs/Double.o .libs/Float.o
.libs/Math.o .libs/MemoryAdvice.o
> .libs/NativeLibrary.o .libs/Object.o .libs/PrimordialClassLoader.o
.libs/Runtime.o .libs/String.o
> .libs/System.o .libs/Thread.o .libs/ThreadStack.o .libs/Throwable.o
.libs/UNIXProcess.o
> .libs/ZipFile.o .libs/Array.o .libs/Constructor.o .libs/Field.o
.libs/Method.o .libs/DateFormat.o
> .libs/TestNative.o .libs/Arrays.o
.libs/TimeZone.o -Wl,--rpath -Wl,/uClibc-0.9.11/lib -lm
> -L/uClibc-0.9.11/lib -lc -Wl,-soname -Wl,libnative-1.1.4.so -Wl,-version-
script
> -Wl,.libs/libnative.ver -o .libs/libnative-1.1.4.so
I can see that you're trying to use shared library that are not supported
under uClinux (as far as I now :-)
so add to your configure options:
--with-staticlib --with-staticvm --with-staticbin --enable-static=yes
I hope this can help you.
Regards,
Andrea
More information about the kaffe
mailing list