On Wed, 2013-04-03 at 22:03 +0100, Matt Burgess wrote:

> Whether or not one can, following the 'rewrite in a subset of C++' in
> 4.8.0, now do --enable-languages=c++ on GCC's configure line and get a
> working C++ compiler sans C support 'baggage' is an interesting
> question.  I might give it a try some time.

Well, that was a quick test :-)  Here's the relevant snippet from the
configure output:

checking for the correct version of the gmp/mpfr/mpc libraries... yes
checking for version 0.10 of ISL... no
checking for version 0.11 of ISL... no
The following languages will be built: c,c++,lto

So, it's pulled in C support automagically.  It looks like it's pretty
safe to assume, then, that distros will continue to make their g++
packages dependent on the gcc package.

The results of this test mean that we could save our users 2 keystrokes
by omitting the 'c,' from the --enable-languages line :-)

Regards,

Matt.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to