Re: [Cegcc-devel] error: cannot find ltdl.h - when compile the cacao JVM

2009-02-04 Thread 杨永志
Dear Danny, I know what you are worry about. I build the libtool (of linux) to cheat the compiler and linker, for i want to know how many libraries are missed. Libtool is mainly used by jni of cacao/jamvm, i guess, so it should be OK before the library is called in runtime. After that, the conf

Re: [Cegcc-devel] error: cannot find ltdl.h - when compile the cacao JVM

2009-02-04 Thread Danny Backx
My original answer was that Windows CE doesn't provide the API that I find in a Linux version of ltdl.h . The same remark applies to pthreads : CE doesn't implement this. None of your more recent findings change that. You'll need to adapt the sources so they don't use these APIs, or start using a

[Cegcc-devel] error: cannot find ltdl.h - when compile the cacao JVM

2009-02-04 Thread 杨永志
After a few days of working and thinking, I guess that the missing of libtool (ltdl.h) and pthread (in later steps of the configure) causes the errors. Furthermore, I guess both the libtool and the pthread have been built in cegcc. But i can not find them :( >>>When I check the config.log, I find

Re: [Cegcc-devel] error: cannot find ltdl.h - when compile the cacao JVM

2009-01-30 Thread Vincent Torri
On Fri, 30 Jan 2009, Ryan Raasch wrote: One could also use libevil, from the Enlightenment Libraries. It is a library used by the e libraries to support those function calls. It does not have any dependencies. Vincent Torri knows best :) Danny Backx wrote: That's probably because the conten

Re: [Cegcc-devel] error: cannot find ltdl.h - when compile the cacao JVM

2009-01-30 Thread 杨永志
Thank you for your advices. I think the error means cacao can not find a suitable libtool. So i download GNU libtool (2.2.6) and build it 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-

Re: [Cegcc-devel] error: cannot find ltdl.h - when compile the cacao JVM

2009-01-30 Thread Ryan Raasch
One could also use libevil, from the Enlightenment Libraries. It is a library used by the e libraries to support those function calls. It does not have any dependencies. Vincent Torri knows best :) Ryan Danny Backx wrote: > That's probably because the contents of ltdl.h is not supported on > W

Re: [Cegcc-devel] error: cannot find ltdl.h - when compile the cacao JVM

2009-01-29 Thread Danny Backx
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 u

[Cegcc-devel] error: cannot find ltdl.h - when compile the cacao JVM

2009-01-29 Thread 杨永志
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-cegc