Rust-Programming-Cookbook/Chapter08/node-to-rust/node_modules/ffi/deps/libffi/config
packt-diwakar 1e5bd65fe0 Code Files Added 2017-07-31 12:29:18 +05:30
..
freebsd Code Files Added 2017-07-31 12:29:18 +05:30
linux Code Files Added 2017-07-31 12:29:18 +05:30
mac Code Files Added 2017-07-31 12:29:18 +05:30
solaris Code Files Added 2017-07-31 12:29:18 +05:30
win Code Files Added 2017-07-31 12:29:18 +05:30
README Code Files Added 2017-07-31 12:29:18 +05:30

README

to generate config *.h files for a given platform+arch, run the command:

  $ ./configure --enable-static --disable-shared --disable-builddir --with-pic

then copy over these files into "config/<(platform)/<(arch)":

  - fficonfig.h
  - include/ffi.h
  - include/ffitarget.h