cross compile liboil for embedded ARM
Download source http://liboil.freedesktop.org/wiki/ Configure project ./configure CC=arm-linux-gnueabi-gcc CXX=arm-linux-gnurabi-g++ –host=arm-linux –build=i686-linux –prefix=/home/kclin/workspace/cross_result/pkg_config/ RANLIB=arm-linux-gnueabi-ranlib LD=arm-linux-gnueabi-ld –cache-file=arm-linux.cache LIBS=”-L/home/kclin/workspace/cross_result/pkg_config/lib -lffi” CFLAGS=”-I/home/kclin/workspace/cross_result/pkg_config/lib/libffi-3.0.13/include -I/home/kclin/workspace/cross_result/pkg_config/include” NM=arm-linux-gnueabi-nm make && make install Some help: From here http://rogeriomoraes.com/wp/?p=37 ../libtool: eval: line 964: syntax error near unexpected token `|’ Posted on December 21, 2011 by admin Trying to cross compile liboil-0.3.17 I got this error: ../libtool: eval: line 950: […]
Read More →