Hi,

On Thu, 3 Nov 2011, Richard Guenther wrote:

> >> If gnattools are built with the C++ compiler they should also link 
> >> with the G++ driver, so that's  worth fixing anyway I think.
> >
> > gnattools is built with the C compiler, but it reuses a couple of 
> > object files of libbackend.a that are now compiled with C++.
> 
> Hmm, maybe we should re-build them with the C compiler then?  What are 
> these common object files?

libcpp and libcommon and libcommon-target, the latter are:

diagnostic.o pretty-print.o intl.o input.o version.o
prefix.o params.o opts.o opts-common.o options.o vec.o hooks.o 
common/common-targhooks.o
<target>-common.o

Doesn't read as if these were good candidates to compile with C only when 
the rest is C++.


Ciao,
Michael.

Reply via email to