GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
chibi-ffi(1) FreeBSD General Commands Manual chibi-ffi(1)

chibi-ffi - generate C from Scheme stub files

chibi-ffi [-c] [-f cflags ] input.stub [ output.c ]

chibi-ffi reads in the C function FFI definitions from an input file and outputs the appropriate C wrappers into a file with the same base name and the ".c" extension. You can then compile that C file into a shared library:

chibi-ffi file.stub cc -fPIC -shared file.c -lchibi-scheme

If the -c option is specified then chibi-ffi attempts to compile the generated C code for you in one step. In this case, additional flags for the C compiler may be given with the -f option.

The FFI syntax is described in the manual.

Alex Shinn (alexshinn @ gmail . com)

The chibi-scheme home-page: http://code.google.com/p/chibi-scheme/
4th Berkeley Distribution

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.