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: 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?

	paul



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