1chibi-ffi(1)                General Commands Manual               chibi-ffi(1)
2
3
4

NAME

6       chibi-ffi - generate C from Scheme stub files
7
8

SYNOPSIS

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

DESCRIPTION

14       chibi-ffi  reads  in  the C function FFI definitions from an input file
15       and outputs the appropriate C wrappers into a file with the  same  base
16       name  and  the ".c" extension.  You can then compile that C file into a
17       shared library:
18
19         chibi-ffi file.stub
20         cc -fPIC -shared file.c -lchibi-scheme
21
22       If the -c option is specified then chibi-ffi attempts  to  compile  the
23       generated  C  code for you in one step.  In this case, additional flags
24       for the C compiler may be given with the -f option.
25
26       The FFI syntax is described in the manual.
27
28

AUTHORS

30       Alex Shinn (alexshinn @ gmail . com)
31
32

SEE ALSO

34       The chibi-scheme home-page:  http://code.google.com/p/chibi-scheme/
35
36
37
384th Berkeley Distribution                                         chibi-ffi(1)
Impressum