Dear all,
I would like to ask would it be possible to generate executable from perl scripts that uses Inline::C?
I used to be able to generate executables from 'normal' perl scripts (those without any Inline C codes) by using the command "perlcc -o hello hello.pl". (I'm using Perl v5.8.0, Inline 0.44 under linux )
However I have no idea on how it could be done to perl scripts that have Inline C codes. (Could this be done actually?)
I've tried the following commands (attempting to generate an executable and then run it) for the perl script below (with is taken from one of the examples in the Inline C Recipes):
perl myperl.pl perlcc -o myperl myperl.pl ./myperl
perlcc is no longer being maintained and has always been buggy. You would be better advised to use the pp tool that comes with the PAR module (available from cpan). I don't know if Inline-C code will work with PAR - but at least PAR is being maintained and actively developed and you can pursue any problems you might have with it on the PAR mailing list. See http://lists.perl.org for details regarding subscription to the PAR mailing list.
Cheers, Rob
--
Any emails containing attachments will be deleted from my ISP's mail server before I even get to see them. If you wish to email me an attachment, please provide advance warning so that I can make the necessary arrangements.