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

Was it helpful?

Solution

Run gcc --version -v. It will output the configure invocation.

OTHER TIPS

Have you tried this one:

gcc -Q --help=target -march=native

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top