Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: perl to exe

by blazar (Canon)
on Apr 28, 2005 at 10:51 UTC ( [id://452254]=note: print w/replies, xml ) Need Help??


in reply to perl to exe

PAR, Perlapp, Perl2exe. (Tried the first -seems good-, heard about the others.)
.o (to execute on Unix)
?

Replies are listed 'Best First'.
Re^2: perl to exe
by ghenry (Vicar) on Apr 28, 2005 at 11:18 UTC

    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.

        I know giteshtrivedi didn't mention "shared libraries", I merely pointed out that that was all I could find about .o extensions on perldoc.

        But he has obviously read this information somewhere, so maybe giteshtrivedi will restate his first post for us?

        Walking the road to enlightenment... I found a penguin and a camel on the way.....
        Fancy a yourname@perl.me.uk? Just ask!!!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://452254]
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: (3)
As of 2024-04-19 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found