public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* status of GCC & C++
@ 2012-03-25 17:19 Basile Starynkevitch
  2012-03-25 17:25 ` Diego Novillo
  2012-03-27 10:23 ` status of GCC & C++ Ludovic Courtès
  0 siblings, 2 replies; 19+ messages in thread
From: Basile Starynkevitch @ 2012-03-25 17:19 UTC (permalink / raw)
  To: gcc


Hello All,

It seems that several Linux distributions are shipping a GCC 4.7 compiled by a C++
compiler (probably GCC).

This affects plugins makers, as has been already discussed.

Do we have (e.g. for plugin makers) a nice way to know if a given GCC distribution was
compiled in C or in C++ mode? For instance, compiling a helloworld.c with gcc -v don't
tell anything about the way that GCC compiler has been built. (ie if it has C++ symbols
or C ones in the executable, and knowing that is mandatory for plugins).

Did we cross the C++ rubicon, in other words is GCC 4.8 scheduled to be compilable with a
C compiler (not C++) for the C front-end and the middle-end and the x86_64/GNU/Linux
back-end?

[my imperfect understanding was that GCC 4.7 should have been compilable by either a
standard C89 or a standard C++03 compiler, if not needing a Go or Ada front-end]

When GCC won't be compilable any more by a C (not C++) compiler, should we make that a
prominent & documented change?  I  believe it should also be reflected in our configure
machinery (by rejecting the build of GCC when a C++ compiler is not available).

Regards.

-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mine, sont seulement les miennes} ***

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2012-03-28 19:50 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-25 17:19 status of GCC & C++ Basile Starynkevitch
2012-03-25 17:25 ` Diego Novillo
2012-03-25 17:33   ` Eric Botcazou
2012-03-25 17:44     ` Diego Novillo
2012-03-25 21:37       ` Eric Botcazou
2012-03-25 21:46         ` Diego Novillo
2012-03-25 22:01           ` Gabriel Dos Reis
2012-03-28 19:50           ` Eric Botcazou
     [not found]   ` <20120325192843.05bf843acfb715c4bc9cd4aa@starynkevitch.net>
     [not found]     ` <4F6F5E48.90404@google.com>
2012-03-25 18:31       ` Basile Starynkevitch
2012-03-25 20:11         ` Basile Starynkevitch
2012-03-25 20:21           ` Gabriel Dos Reis
2012-03-25 20:29           ` Marc Glisse
2012-03-26 15:59           ` Configure-time testing for GCC plugins to determine C vs C++? (Was Re: status of GCC & C++) David Malcolm
2012-03-26 17:07             ` Joseph S. Myers
2012-03-26 18:18               ` David Malcolm
2012-03-26 18:33                 ` Basile Starynkevitch
2012-03-26 20:34                   ` Romain Geissler
2012-03-27  5:53                     ` Basile Starynkevitch
2012-03-27 10:23 ` status of GCC & C++ Ludovic Courtès

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).