Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Compiling Module

by Eliya (Vicar)
on Jun 01, 2012 at 15:40 UTC ( [id://973804]=note: print w/replies, xml ) Need Help??


in reply to Compiling Module

... gcc: +DAportable: No such file or directory gcc: +DS2.0: No such file or directory gcc: +Z: No such file or directory gcc: +Onolimit: No such file or directory gcc: +Opromote_indirect_calls: No such file or directory gcc: +Z: No such file or directory cc1: unrecognized option `-fast' *** Error exit code 1

gcc doesn't understand the HP compiler specific options +DAportable, +DS2.0, +Z, etc.

In case you're wondering where they're coming from:  Perl remembers how exactly it's been built, to be able to produce compatible extensions; and your perl apparently hasn't been built with gcc.

So, either use HP's system compiler to build extension modules for your existing perl, or build your own perl with gcc, in which case you can then also use it to compile extension modules.

Replies are listed 'Best First'.
Re^2: Compiling Module
by pkhayeskp (Initiate) on Jun 01, 2012 at 15:46 UTC
    Thanks for the info.
      FWIW, FYI, an extra piece of advice, build an extra perl with gcc , don't overwrite the system perl, it will undoubtedly break some system utilities (more work for you)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-04-25 11:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found