Basile Starynkevitch wrote, On Tuesday 15 January 2013 11:34 AM:
On Tue, Jan 15, 2013 at 11:16:54AM +0530, Uday P. Khedker wrote:
I was trying to understand the exact meaning of a loose statement
floating around ("gcc has moved to C++ from version 4.7 onwards).

I reckon from http://gcc.gnu.org/wiki/gcc-in-cxx that now gcc is
compiled using C++. However, the very first line of the description
confused me. It says:

GCC has been building stages 2 and 3 in C++ mode for a while.

My understanding was that stage 2 is built using the compiler created
in stage 1 and stage 3 is built using the compiler created in stage 2.
(Please see slide 17/53 in 
http://www.cse.iitb.ac.in/grc/gcc-workshop-12/downloads/slides/gccw12-config-build.pdf).

Can someone tell me what is the meaning of building stage 2 in C++
mode? If I restrict my languages (using --enable-languages) to C,

My belief is that it is no more possible to configure a recent GCC straight
(non-cross) compiler without --enable-language=c++
(that is, if you ask only for --enable-languages=c either configure
should bark, or it should also implicitly add C++).

I was able to build gcc-4.7.2 with --enable-languages=c only :-)

I can't explain in the details how ...

Cheers, & best wishes for 2013.


--
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Dr. Uday Khedker
Professor
Department of Computer Science & Engg.
IIT Bombay, Powai, Mumbai 400 076, India.
Email   :       u...@cse.iitb.ac.in
Homepage:       http://www.cse.iitb.ac.in/~uday
Phone   :       
Office -        91 (22) 2572 2545 x 7717, 91 (22) 2576 7717 (Direct)
Res.   -        91 (22) 2572 2545 x 8717, 91 (22) 2576 8717 (Direct)


Reply via email to