[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GCC considering enabling Ada by default

* Ludovic Brenta:

>> There's no gnatg++, and GCC is now mostly compiled as C++ (but not
>> exclusively).  Mixing different C and C++ compiler versions is
>> probably not supported upstream.
> Yes it is because the ABI has not changed.  Thus it is perfectly
> possible to link object files produced by gnat-4.6, gcc-4.7 and g++-4.7
> to form a working executable that can compile Ada sources.

GCC might have a feature check for the C++ compiler (say, a particular
built-in) and automatically assumes that it's present in the C
compiler as well.

> Bottom line: there is no problem to worry about.

Okay, thanks for your assessment.

Reply to: