Hi,
mahdi hamzeh <mahdy.hamzeh@gmail.com> skribis:
> I compiled and built gcc 4.7.0 myself. I am not sure if I build gcc on
> my machine, it would be compiled as c++. How would I check that?
You could run:
nm /path/to/libexec/gcc/x86_64-unknown-linux-gnu/4.7.1/cc1 | \
grep loop_optimizer_init
and check whether you see the C++-mangled symbol or not.
HTH,
Ludoâ.