public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: Jason Vas Dias <jason.vas.dias@gmail.com>
Cc: gcc-bugs@gcc.gnu.org
Subject: Re: gcc-4.7.1 build system question : why is "make bootstrap" with configure option '--enable-languages=c' building the C++ compiler ?
Date: Sun, 08 Jul 2012 15:37:00 -0000	[thread overview]
Message-ID: <CAH6eHdS8UrZ-vt1PheNZY2VrqEZVAf0e6+xL9eKps6OvYdJQaQ@mail.gmail.com> (raw)

Hi,

The gcc-bugs mailing list is for automated emails from our Bugzilla
database.  Your question is not about a bug, so would be more
appropriate on the gcc-help mailing list.

The answer to your question is that GCC itself is now built using a
C++ compiler, so it needs to build the C++ compiler to build itself,
see http://gcc.gnu.org/install/configure.html

--enable-build-poststage1-with-cxx
    When bootstrapping, build stages 2 and 3 of GCC using a C++
compiler rather than a C compiler. Stage 1 is still built with a C
compiler. This is enabled by default and may be disabled using
--disable-build-poststage1-with-cxx.


             reply	other threads:[~2012-07-08 15:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-08 15:37 Jonathan Wakely [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-07-08 15:06 Jason Vas Dias
2012-07-08 15:27 ` Jason Vas Dias

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAH6eHdS8UrZ-vt1PheNZY2VrqEZVAf0e6+xL9eKps6OvYdJQaQ@mail.gmail.com \
    --to=jwakely.gcc@gmail.com \
    --cc=gcc-bugs@gcc.gnu.org \
    --cc=jason.vas.dias@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).