1.  Download the source code  😛
    • http://www.linuxfromscratch.org/blfs/view/svn/general/libffi.htm
  2. 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
  3. make && make install

Leave a Reply