Skip to content

Install libffi in NDK environment

Amr Aboelela edited this page Mar 17, 2015 · 1 revision

Parent page: Build Objective C frameworks in NDK environment

##Steps in Ubuntu

  • Standalone setup

  • Configure to arm and install: libffi$ ./configure --host=arm libffi$ make libffi$ sudo make install

  • Copy libffi.a and ffi.h files to Mac OS /usr/local/lib$ scp -r libffi* amrpro:

  • Copy ffi.h and libffi.a files to kit/ndk/frameworks/include and kit/ndk/frameworks/libs

  • Note: I have done this already, i.e the ffi.h and libffi.a files are already generated, copied and included in the myOS project.

Clone this wiki locally