Вопрос

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

Это было полезно?

Решение

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

Другие советы

Have you tried this one:

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top