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

Était-ce utile?

La solution

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

Autres conseils

Have you tried this one:

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top