> When I configure with
>     --enable-build-with-cxx --enable-languages=c,c++,ada
> I get the appended.  The problem is that the Ada code is looking for C
> symbol names but the names in the .o files are mangled for C++.

OK, this is known: a couple of tweaks to the Makefile (to use g++ instead of 
gcc to link) are needed and extern "C" must be added all over the place, see:
  http://gcc.gnu.org/ml/gcc/2009-06/msg00635.html

I can post an updated patch if you want, but saying that the Ada front-end 
blocks the use of C++ in gcc is unfair; it is (and has always been) neutral.

-- 
Eric Botcazou

Reply via email to