http://www.perlmonks.org?node_id=1229089


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 (Monsignor) 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.