Re: [Sablevm-developer] Re: qt-embedded and sablevm
Brought to you by:
egagnon
From: Fabien R. <re...@ne...> - 2004-05-03 07:10:17
|
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 > > |