That's probably because the contents of ltdl.h is not supported on
Windows CE :

/* ltdl.h -- generic dlopen functions

CE has another API than unix/linux/.. for this kind of stuff, see e.g.
the LoadLibrary function.

        Danny

On Thu, 2009-01-29 at 23:23 +0800, 杨永志 wrote:
> 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
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Cegcc-devel mailing list
> Cegcc-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cegcc-devel
> 
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to