This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ bootstrap of GCC - still useful ?
On Mon, Jul 11, 2011 at 11:53 AM, Arnaud Charlet <charlet@adacore.com> 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.
Do you want a C compiler for that, or do you in fact just need an
extern "C"
language specification for those symbols? I would have thought the latter.
-- Gaby