Next: Fatal | Previous: ExtUtils::testlib | [Table of Contents] | [Index] |
xsubpp - compiler to convert Perl XS code into C code
xsubpp [-v] [-C++] [-except] [-s pattern] [-prototypes] [-noversioncheck] [-nolinenumbers] [-nooptimize] [-typemap typemap] ... file.xs
This compiler is typically run by the makefiles created by the ExtUtils::MakeMaker manpage.
xsubpp will compile XS code into C code by embedding the constructs necessary to let C functions manipulate Perl values and creates the glue necessary to let Perl access those functions. The compiler uses typemaps to determine how to map C function parameters and variables to Perl values.
The compiler will search for typemap files called typemap. It will use the following search path to find default typemaps, with the rightmost typemap taking precedence. ../../../typemap:../../typemap:../typemap:typemap
Note that the XSOPT
MakeMaker option may be used to add these options to
any makefiles generated by MakeMaker.
.xs
file) and the .pm
files have the same version
number.
IN
, OUT_LIST
and INOUT_LIST
declarations.
No environment variables are used.
Larry Wall
See the file changes.pod
.
perl(1), perlxs(1), perlxstut(1)