Re: [Sablevm-developer] Re: qt-embedded and sablevm
Brought to you by:
egagnon
From: Chris P. <chr...@ma...> - 2004-04-30 15:34:18
|
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 |