Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Compiling C program with a Static Perl

by Corion (Patriarch)
on Sep 03, 2017 at 10:12 UTC ( [id://1198609]=note: print w/replies, xml ) Need Help??


in reply to Compiling C program with a Static Perl

I think that App::Staticperl should still work with most recent versions of Perl and basically give you what you want.

The approach is basically your approach, compiling a single-executable statically linked Perl with the script embedded.

I think you could look as an alternative at B::C, which tries to compile Perl to a static? executable.

There also is PAR, which bundles a dynamically linked Perl and a Perl script into a single file. That one needs a work directory to unpack though.

  • Comment on Re: Compiling C program with a Static Perl

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-18 06:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found