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
La solution
Autres conseils
Have you tried this one:
gcc -Q --help=target -march=native
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow