Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: perl2exe question

by teabag (Pilgrim)
on Sep 23, 2003 at 13:29 UTC ( #293487=note: print w/replies, xml ) Need Help??


in reply to perl2exe question

Hmmm, you might want to check out par.
#> pp -o packed.exe source.pl # creates a self-contained binary. Modules can reside in different directories in a PAR file: / # casual packaging only /lib/ # standard location /arch/ # for creating from blib/ /i386-freebsd/ # i.e. $Config{archname} Par was tested on Win32, FreeBSD, Linux, AIX, Solaris with Perl 5.6.1 +and 5.8.0.

It has truckloads of more options according to these pages, you might want to check out the newest version of par anyway, since it seems to do everything perl2exe does (even more I think).

Oh, and did I mention it was free (unlike perl2exe)?

Teabag
Sure there's more than one way, but one just needs one anyway - Teabag

Replies are listed 'Best First'.
Re: Re: perl2exe question
by Anonymous Monk on Sep 23, 2003 at 15:15 UTC
    Well the docs say..... read pxman.html Perl2Exe for Unix can generate executables for supported Unix machines. Perl2Exe for Unix can also be used from a Win32 host to generate executables for a Unix target host.
      • Perl2Exe for Unix can also be used from a Win32 host to generate executables for a Unix target host.
      AIRC it sure can. But it's NOT the same executable that you would use on yer windows systems, obviously. Probably an elf binary but I'm not sure about that.

      And as stated before you might have to change some things like paths and systemcalls.

      I'd just use the perl on your unix machine to run your script though and probably would forget perl2exe and check out par ;)

      For the record: /me is in no way associated with par, but it sounds excellent...

      Teabag
      Sure there's more than one way, but one just needs one anyway - Teabag

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://293487]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (1)
As of 2020-12-06 01:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (65 votes). Check out past polls.

    Notices?