firstbaseman83 has asked for the wisdom of the Perl Monks concerning the following question:

I'm a newbie at this and I have no idea if it's been posted already, but i'll post it anyways.

Whenever I see comments about perlcc, it seems that everybody is using it on linux, unix, etc...

I was wondering if anyone knew how to use it on windows.

Thanks,
~firstbaseman83

Replies are listed 'Best First'.
Re: perlcc for windows
by pg (Canon) on Jan 03, 2003 at 05:49 UTC
    If you have Visual C++ installed, there would be no problem to you. Otherwise, be prepared, you might have to make some changes to the perlcc.bat file (I did), so it understands your c environment, things like, where is your compiler, what is its name, where is your lib, where is your include...

    I really REALLY hope activestate perl support some free c compiler, like borland C. but...

    Any way, yes, perlcc works on windows, but requires quite some effort to set it straight, if you don't have visual c++.

      Thanks all for the quick replies.

      I will try all the suggestions.

      ~firstbaseman83
Re: perlcc for windows
by gjb (Vicar) on Jan 03, 2003 at 05:00 UTC

    ActiveState has an entry on perlcc, so I assume it should work, but never tried it myself.

    Of course, it should work with the Perl that comes with cygwin.

    Hope this helps, -gjb-

      The page you mention contains this warning:

      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.
      and this warning is present even in the Perl 5.8's perlcc

      You may have more luck with PerlApp or Perl2Exe or App::Packer.

      Jenda