Re: [Sablevm-developer] Re: qt-embedded and sablevm
Brought to you by:
egagnon
From: Fabien R. <re...@ne...> - 2004-05-03 08:08:13
|
I have now another problem. I set all my flags but the make wants to take a lib in /usr/lib ( it´s x86 lib). I´ve put the lib into libffi directory ( no problem with libffi ) The LD_LIBRARY_PATH ans LDFLAGS points on this directory. Can I exclude /usr/lib ? Cheers, Fabien Fabien Renaud wrote: > Ok actually the lib was not installed ( I only had libffi.la and > thought that was ok ) > I set prefix to another directory than > /home/commgw/renaud/gcc/gcc-3.4.0/libffi_bin and now it-s installed. > I onnly have to set the differents paths but that should be ok. > > Thanks you Chris & Grzegorz > > Cheers, > > Fabien > > > Chris Pickett wrote: > >> Fabien Renaud wrote: >> >>> 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 >> >> >> >> Please try >> >> export LDFLAGS=-L/home/commgw/renaud/gcc/gcc-3.4.0/libffi_bin >> export CFLAGS=-I/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 >> >> which is the closest thing to what's written in the wiki and see if >> that helps. If that doesn't work, please try something like >> >> cd libffi_bin >> ../libffi/configure --prefix=${HOME} --host=arm-linux --build=i386 >> make >> make install >> export LDFLAGS=-L/home/commgw/renaud/lib >> export CFLAGS=-I/home/commgw/renaud/include >> export LD_LIBRARY_PATH=/home/commgw/renaud/lib >> >> 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 > > |