It sounds like your C compiler disagrees with the code that the Perl compiler generates. I tried this myself with Perl 5.8.7 and GCC 3.4.4 and it works, using just "perlcc test.pl" to generate the binary. It worked for me, so I think it's probably a Perl/CC dispute that might be fixed by switching versions. Check the "perlcompile" manpage for more info. What versions of Perl and your C compiler are you using?
|