From: 杨永志 <cnz...@gm...> - 2009-01-29 15:23:56
|
Hey, When i use cegcc to compile the cacao JVM for wince, i got the error: "cannot find ltdl.h" I build the cegcc in Fedora 7 with source from SVN (in Jan, 2009) and by the script cegcc/src/build-cegcc.sh Then i build the GNU Classpath (0.97.2) with AR=arm-cegcc-ar AS=arm-cegcc-as CXX=arm-cegcc-c++ CPP=arm-cegcc-cpp CC=arm-cegcc-gcc LD=arm-cegcc-ld DLLTOOL=arm-cegcc-dlltool NM=arm-cegcc-nm RANLIB=arm-cegcc-ranlib STRIP=arm-cegcc-strip WINDRES=arm-cegcc-windres CFLAGS=-g\ -D_WIN32_IE=0x400 ARCH=arm-cegcc ../classpath-0.97.2/configure --prefix=/opt/gnucp --enable-ecj --disable-gtk-peer --build=i386-linux --target=arm-wince-pe -host=i386 However, when i configure the cacao (0.98) JVM with AR=arm-cegcc-ar AS=arm-cegcc-as CXX=arm-cegcc-c++ CPP=arm-cegcc-cpp CC=arm-cegcc-gcc LD=arm-cegcc-ld DLLTOOL=arm-cegcc-dlltool NM=arm-cegcc-nm RANLIB=arm-cegcc-ranlib STRIP=arm-cegcc-strip WINDRES=arm-cegcc-windres CFLAGS=-g\ -D_WIN32_IE=0x400 ARCH=arm-cegcc ../cacao-0.98/configure --prefix=/opt/cacao --with-classpath-prefix=/opt/gnucp --enable-ecj --disable-gtk-peer --build=i386-linux --target=arm-wince-pe -host=i386 --disable-zlib I got the error: "error: cannot find ltdl.h" I notice that there's a ltdl.h in "cegcc/src/newlib/newlib/libc/sys/linux/include/ltdl.h" But i don't know where to put it :( It seems that the cacao requires a libtool, but it can not find the libtool when compiled by cegcc. What is the recommended way to find a libtool? or, how can i get a JVM, which supports Java SE 1.5 (especially for the annotation), for wince? thank you Ziberg |