Re: [Sablevm-developer] Re: qt-embedded and sablevm
Brought to you by:
egagnon
From: Fabien R. <re...@ne...> - 2004-04-30 14:57:56
|
Ok set -v ^^ Well I get a libffi from gcc 3.4 tarball I apply this patch : libffi/configure.in~ 2003-10-22 01:02:59.000000000 +0200 +++ libffi/configure.in 2003-11-11 12:33:40.000000000 +0100 @@ -29,6 +29,7 @@ else libffi_basedir= fi +libffi_basedir= AC_SUBST(libffi_basedir) AC_CONFIG_AUX_DIR(${libffi_basedir}..) Then I mkdir libffi_bin at the top of gcc cd libffi_bin ; ../libffi/configure --prefix=/home/commgw/renaud/gcc/gcc-3.4.0/libffi_bin --host=arm-linux --build=i386 make export LDFLAGS= -L/home/commgw/renaud/gcc/gcc-3.4.0/libffi_bin export LDFLAGS= -L/home/commgw/renaud/gcc/gcc-3.4.0/libffi_bin/include export LD_LIBRARY_PATH=/home/commgw/renaud/gcc/gcc-3.4.0/libffi_bin Then I install sablevm-classpath : ./configure --prefix=/path/to/sablevm_bin --build=i386 --host=arm-linux --includedir=/home/commgw/renaud/montavista/pro/devkit/arm/xscale_le/target/usr/include --disable-gtk-peer Ok for the moment,no problem. Now I run sablevm like this : ./configure --prefix=/path/to/sablevm_bin --build=i386 --host=arm-linux --includedir=/home/commgw/renaud/montavista/pro/devkit/arm/xscale_le/target/usr/include -disable-gtk-peer --with-threading=direct And then I have the foloing message : checking for ffi_prep_cif in -lffi... no ***ERROR: libffi is missing humm I have set CC, AR, NM, ... before Cheers, Fabien Chris Pickett wrote: > Hi Fabien, > > Can you please type out the exact sequence of commands you give, and > changes you make to gcc files, from the beginning? I know this is > probably a lot to ask, but it seems we could spend a while trying to > guess why SableVM cannot find libffi. If you do this, someone like > Greg more familiar with libffi will be able to help you much better. > > Cheers, > Chris > > Fabien Renaud wrote: > >> I didn´t set to /home/gadek but where libffi is ( and I use --prefix >> option ) >> >> Cheers, >> Fabien >> >> >> >> Chris Pickett wrote: >> >> >>> Fabien Renaud wrote: >>> >>> >>>> Hello , >>>> >>>> Thanks you for yours answers. That´s should be not so easy for me >>>> because I´m a beginner with all it´s related to Java. >>>> Humm, I´ve already a problem : >>>> >>>> I installed libffi ( from gcc 3.4 tarball ). All seemed ok but now >>>> I can´t ./configure sablevm : >>>> checking for ffi_prep_cif in -lffi... no >>>> ***ERROR: libffi is missing >>>> >>>> I set CFLAGS, LDFLAGS, LD_LIBRARY_PATH ( like in this page : >>>> http://devel.sablevm.org/wiki/LibFFI ) >>> >>> >>> >>> You need to substitute '/home/gadek/' with the location where libffi >>> is installed on your system. Only if you installed it in your home >>> directory will '/home/fabien/' (or rather '/home/`whoami`/') work. >>> Type './configure --help' and look at the '--prefix' option, and >>> maybe re-install libffi with './configure --prefix=${HOME}', or >>> instead do something like 'find / -name 'libffi.*' to determine >>> where it's already been installed. >>> >>> Cheers, >>> Chris >>> >>> >>> ------------------------------------------------------- >>> This SF.Net email is sponsored by: Oracle 10g >>> Get certified on the hottest thing ever to hit the market... Oracle >>> 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. >>> http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click >>> _______________________________________________ >>> Sablevm-developer mailing list >>> Sab...@li... >>> https://lists.sourceforge.net/lists/listinfo/sablevm-developer >>> >>> >> >> >> >> > > |