ExtUtils::Embed(3) Perl Programmers Reference Guide ExtUtils::Embed(3)
NAME
ExtUtils::Embed - Utilities for embedding Perl in C/C++ applications
SYNOPSIS
perl -MExtUtils::Embed -e xsinit
perl -MExtUtils::Embed -e ccopts
perl -MExtUtils::Embed -e ldopts
DESCRIPTION
ExtUtils::Embed provides utility functions for embedding a Perl interpreter and extensions
in your C/C++ applications. Typically, an application Makefile will invoke ExtU-
tils::Embed functions while building your application.
@EXPORT
ExtUtils::Embed exports the following functions:
xsinit(), ldopts(), ccopts(), perl_inc(), ccflags(), ccdlflags(), xsi_header(), xsi_pro-
tos(), xsi_body()
FUNCTIONS
xsinit()
Generate C/C++ code for the XS initializer function.
When invoked as 'perl -MExtUtils::Embed -e xsinit --' the following options are recog-
nized:
-o
|