I did a little looking into this, since you have obviously decided that this
is something you need. If you check out perlcc.bat, then you will see that
there is a system() call. The system call references $Config{cc}, which if
you look farther up the ladder, seems to point to a file that matches
/^cl/i, which would be CL.EXE, which comes with MS Visual C and MS Visual
C++. So other than forking out a few hundred dollars for a Microsoft
compiler, it looks like your best bet would be to download Cygwin and see if
you can get it working under their shell. I believe it comes with a
compiler and Perl.
-----Original Message-----
From: Collins, Joe (EDSI\BDR) [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:23 AM
To: '[EMAIL PROTECTED]'
Subject: perlcc - newbie - cannot compile successfully - sample session
Do I need something else, i.e. path settings or whatever?
My source:
use strict;
my $ans=3*12;
print "3x12=$ans\n";
My platform: Windows XP
I am in directory c:\ and invoke as shown.
perlcc -o z.exe z.pl
----------------------------------------------------------
Compiling z.pl:
----------------------------------------------------------
Making C(z.pl.c) for z.pl!
C:\Perl\bin\Perl.exe -IC:/Perl/lib -IC:/Perl/site/lib -I. -MB::Stash -c z.pl
C:\Perl\bin\Perl.exe -IC:/Perl/lib -IC:/Perl/site/lib -I.
-MO=C,l2000,-umain,-uattributes,-uDB,-u<none>,-uWin32,-ustrict z.pl
The system cannot find the file specified.
ERROR: In generating code for z.pl!
Help!
Joe
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]