This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc plugin problem


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â.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]