This is the mail archive of the
mailing list for the GCC project.
Re: C++ bootstrap of GCC - still useful ?
On Jul 11, 2011, at 12:53 PM, Arnaud Charlet wrote:
>> 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++.
> Right, or rather than we want to use the C compiler to compile all those
> files (e.g. init.c, argv.c), not the C++ compiler.
Isn't 'extern "C" ' the standard way to handle this sort of thing?