Run gcc --version -v
. It will output the configure
invocation.
how to check installed gcc has some flag configured?
-
01-07-2022 - |
Question
How to check the installed gcc has any of the flags enabled in configuration.
E.g. I want to check if installed gcc has this "--enable-__cxa_atexit" flag enabled ?
I have Ubuntu 12.04 & gcc 4.6
Solution
OTHER TIPS
Have you tried this one:
gcc -Q --help=target -march=native
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow