This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
C++ conversion? Why still .c (not .cc) files and CC (not CXX) in Makefile.in?
- From: Basile Starynkevitch <basile at starynkevitch dot net>
- To: gcc at gcc dot gnu dot org
- Cc: dnovillo at google dot com
- Date: Tue, 28 Aug 2012 15:21:23 +0200
- Subject: C++ conversion? Why still .c (not .cc) files and CC (not CXX) in Makefile.in?
Hello All,
Sorry for such a stupid question, but assuming that the GCC trunk (e.g. svn rev 190745)
did already switch (during my holidays, so I did not follow that) to C++
per http://gcc.gnu.org/ml/gcc/2012-08/msg00165.html message, why are files
under gcc/ still keeping a .c (not a .cc) extension
(for example gcc/gimple-fold.c is not renamed to gcc/gimple-fold.cc), and why does
gcc/Makefile.in still have more $(CC) than $(CXX)?
Or is the case that when building gcc the CC make variable
is always a true C++ compiler (e.g. some g++)?
Or do we have a rule than any file using C++ specific feature
should be renamed from *.c to *.cc at the moment the C++ feature goes inside?
(i'm trying to merge trunk back into MELT branch)
Cheers.
--
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 mines, sont seulement les miennes} ***