On Mon, 2008-17-03 at 17:23 +0000, Alberto Simões wrote:
> What I would like was to rewrite this configure system and base it in 
> Perl. I want to make all the package installable from CPAN as all users 
> of the C package uses the Perl module interface.
> 
> My question is: what is the best and easier approach?

The standard way is to use h2xs but there is also swig and I seem to
recall reading recently that Incline::C may be easier but I don't know
how much it is used.

h2xs:
http://search.cpan.org/~rgarcia/perl-5.10.0/utils/h2xs.PL

Swig:
http://www.swig.org/exec.html

Inline:
http://search.cpan.org/src/INGY/Inline-0.44/README

-- 
--gh


Reply via email to