On Wed, 4 Sep 2002 22:05:17 +0300, [EMAIL PROTECTED] (Octavian Rasnita) wrote:
>I've tried (without success) to compile a CGI application made in Perl using >perlcc. > >I've tried then a test program but it also doesn't want to compile. > >#!/perl/bin/perl >print "Content-type: text/html\n\n"; >print "Test OK"; > >Can I make a Windows executable using perlcc? >Can you give me hints about what should I do to make the executable? You are better off using one of the "commercial" programs to do this. You might have to pay 100 bucks. > >When trying to compile this small program, it made a file a.out and another >..obj file but I don't know what to do with these files. The a.out is the default name for a compiled program, unless you give the -o outputname when you compile. Try renaming it to myprog.exe and see if it runs. >I've tried using the -B parameter to compile directly, but it gave me a lot >of assembly errors. > >When trying to compile a bigger one, it made a .c file then the program >continued to work for a long time with no result. >It made a .out file but its size was 0. That means there was an error. You will not have good luck with perlcc for most scripts. It chokes when you try to add modules. Get a commercial version from one of the windows vendors, they reportedly work pretty good. Although they don't give you any performance gain. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]