Thanks a lot. I'll try them. ----- Original Message ----- From: "Jenda Krynicky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 13, 2004 8:16 PM Subject: Re: problem about compiler
> From: "pagoda" <[EMAIL PROTECTED]> > > problem about compiler > > > > Below is the code: > > #! /usr/bin/perl > > use Cwd qw/cwd abs_path/; > > print cwd, "\n"; > > > > I compiled my code: > > $perlcc -o hello hello.pl > > > > the following infor were printed to stdout: > > Note (probably harmless): No library found for -lposix > > pccslkmZ.c: In function `perl_init_aaaa': > > pccslkmZ.c:15202: warning: decimal constant is so large that it is > > unsigned > > > > and I ran the binary: > > $ hello > > > > the following infor were printed to stdout: > > Undefined subroutine &main:: called at hello.pl line 4. > > > > What's wrong with it? > > Give me a hand please. > > From perlcc's docs: > > The code generated in this way is not guaranteed to work. The > whole > codegen suite ("perlcc" included) should be considered very > experimental. Use for production purposes is strongly > discouraged. > > Do not use perlcc. > > Use either PAR/pp (from CPAN) or PerlApp (from PDK on > http://www.activestate.com) or Perl2Exe (from > http://www.perl2exe.com). > > Jenda > ===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz ===== > When it comes to wine, women and song, wizards are allowed > to get drunk and croon as much as they like. > -- Terry Pratchett in Sourcery > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>