compile libffi for embedded ARM
- Download the source code 😛
- http://www.linuxfromscratch.org/blfs/view/svn/general/libffi.htm
- configure the makefile
- ./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/
ux.cache –disable-dtrace –disable-systemtap –disable-selinux - make && make install