Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

perl to exe

by giteshtrivedi (Initiate)
on Apr 28, 2005 at 10:37 UTC ( [id://452248]=perlquestion: print w/replies, xml ) Need Help??

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

Hi, I have a .pl file Now I have to convert it .exe (to execute on windows ) and .o (to execute on Unix).Please tell me which one software I have to download to doing this? Thanks in Advance

Replies are listed 'Best First'.
Re: perl to exe
by gopalr (Priest) on Apr 28, 2005 at 10:48 UTC

    You can try the following:

    1. Perlapp

    2. Perl2exe

    3. Par

Re: perl to exe
by salva (Canon) on Apr 28, 2005 at 10:42 UTC
    PAR and its pp utility is what you are looking for.
Re: perl to exe
by blazar (Canon) on Apr 28, 2005 at 10:51 UTC
    PAR, Perlapp, Perl2exe. (Tried the first -seems good-, heard about the others.)
    .o (to execute on Unix)
    ?

      All I can find is this on perldoc:

      To create a shared library, the following steps must be performed: 1. Compile source modules with +z or +Z flag to create a .o module which contains Position-Independent Code (PIC). The linker will tell you in the next step if +Z was needed. (For gcc, the appropriate flag is -fpic or -fPIC.) 2. Link the shared library using the -b flag. If the code calls any functions in other system libraries (e.g., libm), it must be included on this line.

      in Building Dynamic Extensions on HP-UX on the Platform specific page.

      There might be more info in those sections.

      HTH.

      Walking the road to enlightenment... I found a penguin and a camel on the way.....
      Fancy a yourname@perl.me.uk? Just ask!!!
        All I can find is this on perldoc:

        To create a shared library, the following steps must be performed:

        All I can find is this in your original message:
        Hi, I have a .pl file Now I have to convert it .exe (to execute on windows ) and .o (to execute on Unix).
        And I see no mention of "shared library" here. Also, while this may have something to do with what you asked, I doesn't see why it should necessarily have to.

        in particular your implicit claim i.e. that "a .pl file must be converted to .o to be excuted under Unix" is plainly false, not to mention the fact that .pl and .o are "nothing but extensions" and *NIX is much less extension-centric than Windows* are, so that the actual content of such claim is -strictly speaking- empty.

Re: perl to exe
by kprasanna_79 (Hermit) on Apr 28, 2005 at 14:56 UTC
    Hai,
    Try this software perl2exe
    --prasanna.k

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2024-04-23 12:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found