Thanks. The problem was naming indeed. I managed to recompile gcc with
c compiler only and the problem is gone.

On Mon, Jul 9, 2012 at 9:35 AM, Ludovic Courtès
<ludovic.cour...@inria.fr> wrote:
> Hi,
>
> mahdi hamzeh <mahdy.ham...@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’.
>



-- 
Mahdi Hamzeh
Graduate Research Associate
School of Computing, Informatics, and Decision Systems Engineering (CIDSE)
Arizona State University
http://www.public.asu.edu/~mhamzeh1/

Reply via email to