0

How to check if the installed gcc has any of the flags enabled in configuration.

E.g. I want to check if the installed gcc has this --enable-__cxa_atexit flag enabled ?

I have Ubuntu 12.04 & gcc 4.6

Guy Avraham
  • 3,482
  • 3
  • 38
  • 50
Vijay C
  • 4,739
  • 4
  • 41
  • 46

2 Answers2

0

Have you tried this one:

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

Valchev
  • 1,490
  • 14
  • 17
0

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

chill
  • 16,470
  • 2
  • 40
  • 44