Download the source http://www.zlib.net/ 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-lin| ux.cache make && make install

Read More →

Download source code http://www.xmlsoft.org/downloads.html 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-gnue| abi-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/worksp| ace/cross_result/pkg_config/include -I/home/kclin/workspace/cross_result/pkg_config/include/python2.7″ NM=arm-linux-gnueabi-nm –with-python=/home/kclin/workspace/cross_result/pkg_config/bin make && make install

Read More →

Refer to this article http://randomsplat.com/id5-cross-compiling-python-for-embedded-linux.html http://www.ailis.de/~k/archives/19-ARM-cross-compiling-howto.html Download the source ./configure make python Parser/pgen mv python hostpython mv Parser/pgen Parser/hostpgen make distclean patch -p1 < ~/Downloads/Python-2.7.3-xcompile.patch ./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-gnue| abi-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/worksp| ace/cross_result/pkg_config/include” NM=arm-linux-gnueabi-nm –disable-ipv6 make HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen CROSS_COMPILE=arm-linux-gnueabi- CROSS_COMPILE_TARGET=yes HOSTARCH=i686-linux BUILDARCH=i386-linux-gnu make install HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen CROSS_COMPILE=arm-linux-gnueabi- CROSS_COMPILE_TARGET=yes […]

Read More →

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 →