This is the mail archive of the gcc-patches@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: PATCH RFA: Support --enable-build-with-cxx at top level


Ian Lance Taylor wrote:
Paolo Bonzini <bonzini@gnu.org> writes:

Ian Lance Taylor wrote:
This patch adds support for --enable-build-with-cxx at the top level.
When --enable-build-with-cxx is used, c++ is configured at stage1, and
libstdc++-v3 is bootstrapped.  This also passes down CXX and
CXX_FOR_BUILD to the post-stage1 passes.  (The --enable option must be
mechanically convertible into the name of a shell variable, so it
can't be --enable-build-with-c++).
Can you please try the approach of modifying
boot_language=${enable_build_with_cxx}?  I would very much prefer to
have a generic mechanism that bootstraps the target libraries for a
language if it is marked as a boot_language, rather than the special
casing of

Good idea.

I like it more. I would have preferred setting cp/config-lang.in to boot_language to a variable, but I know you don't want that and I'm not going to insist.


Wait some time for Joseph's observations and then go ahead.

Paolo


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