Hi,
I've tried cross compiling the libltdl3 using the following command and it
completed successfully until installation using make install
CC=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc
CPP=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-cpp
CXX=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-g++
RANLIB=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-ranlib
../libtool/configure --prefix=/mnt/nfsshare/usr/local/libtool
--exec-prefix=/mnt/nfsshare/usr/local/libtool --host=arm-linux
Then I tried cross compiling kaffe again using the following command
CC=arm-angstrom-linux-gnueabi-gcc CPP=arm-angstrom-linux-gnueabi-cpp
CXX=arm-angstrom-linux-gnueabi-g++ ../kaffe/configure
--prefix=/mnt/nfsshare/usr/local/kaffe
--exec-prefix=/mnt/nfsshare/usr/local/kaffe --host=arm-linux
--with-classpath-prefix=/mnt/nfsshare/usr/local/classpath --disable-native-awt
--with-includes=/mnt/nfsshare/usr/local/libtool/include
--with-libs=/mnt/nfsshare/usr/local/libtool/lib
And now it resulted into the following error while configuring the kaffe
checking for ltdl.h... yes
checking for library containing lt_dlcaller_register... no
configure: error: Can't find the libltdl library.
I' also tried cross compiling the libltdl3 using the following command and
it completed successfully also until installation using make install
CC=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-gcc
CPP=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-cpp
CXX=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-g++
RANLIB=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-ranlib
../libtool/configure --host=arm-linux
Then I tried cross compiling kaffe again using the following command
CC=arm-angstrom-linux-gnueabi-gcc CPP=arm-angstrom-linux-gnueabi-cpp
CXX=arm-angstrom-linux-gnueabi-g++ ../kaffe/configure
--prefix=/mnt/nfsshare/usr/local/kaffe
--exec-prefix=/mnt/nfsshare/usr/local/kaffe --host=arm-linux
--with-classpath-prefix=/mnt/nfsshare/usr/local/classpath --disable-native-awt
And again it resulted into the following error while configuring the kaffe
checking for ltdl.h... no
configure: error: Can't find the ltdl.h header file from the libltdl library
Can anybody please help me? I feel so frustrated now. I need to make this
kaffevm work
Thanks and best regards,
Leandro Galvez
----- Original Message -----
From: "Dalibor Topic" <[EMAIL PROTECTED]>
To: "Leandro Galvez" <[EMAIL PROTECTED]>
Cc: "Kiyo Inaba" <[EMAIL PROTECTED]>; <[email protected]>
Sent: Monday, February 11, 2008 10:22 PM
Subject: Re: [kaffe] ARM Cross-Compile using GNU EABI
> Leandro Galvez wrote:
>> Hi,
>>
>> Sorry for being so ignorant here. I already have all the required
>> libraries. I was already able to complete building and installing the
>> native build of kaffe for a number of times. This things only happen
>> when cross-compiling to arm.
>>
>
> No worries, cross-compilation is always a bit harder than native builds.
> :) As I said in the previous post, you will need to cross-compile the
> libraries used by kaffe first,
> like libltdl (which is part of the GNU libtool project), to install them
> somewhere on the machine you cross compile kaffe on, and then to tell
> kaffe's configure script
> where you installed the header files, and the shared libraries for the
> libraries it needs, so that it can find and use them.
>
> i.e.
>
> for each kaffe dependency {
> cross compile the dependency and install it somewhere using
> --prefix=where-you-want-it-to-go
> }
> then tell kaffe's configure script where you installed them all using
> --with-includes and --with-libs.
>
> cheers,
> dalibor topic
>
>
>_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe