Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Config sets optimisation compilation flags (-O/-g)!

by dave_the_m (Monsignor)
on Jan 28, 2019 at 19:45 UTC ( #1229089=note: print w/replies, xml ) Need Help??


in reply to Re^2: Config sets optimisation compilation flags (-O/-g)!
in thread Config sets optimisation compilation flags (-O/-g)!

Config basically tells you what flags the perl executable was built with, or more to the point, what flags XS code needs to be compiled with in order to work seamlessly with the perl interpreter. The flags are determined by the arguments to Configure plus whatever probes and/or decisions Configure makes. If you don't like the flags, build a perl with different flags. If you want to debug, build a debugging perl with ./Configure -DDEBUGGING

Dave.

  • Comment on Re^3: Config sets optimisation compilation flags (-O/-g)!

Replies are listed 'Best First'.
Re^4: Config sets optimisation compilation flags (-O/-g)!
by bliako (Priest) on Jan 28, 2019 at 20:14 UTC
    Config basically tells you what flags the perl executable was built with...

    OK got that. So, FORTIFY_SOURCE was used when building my perl. I am used to pkg-config which tells you how to compile and link as opposed to Config which tells you how perl was built. Fine.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2019-05-24 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (147 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!