aboutsummaryrefslogtreecommitdiff
path: root/libcc1/compiler-name.hh
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2017-11-16 18:15:33 +0000
committerJeff Law <law@gcc.gnu.org>2017-11-16 11:15:33 -0700
commit9d99775c34864d030d97b6a5ea5987616ff37468 (patch)
tree2de8be5e2648fec8c4e0080f09145cb6a267409c /libcc1/compiler-name.hh
parentdc03239c2d8607a0f5cdb13a220bcf0c7f8ed7cd (diff)
downloadgcc-9d99775c34864d030d97b6a5ea5987616ff37468.zip
gcc-9d99775c34864d030d97b6a5ea5987616ff37468.tar.gz
gcc-9d99775c34864d030d97b6a5ea5987616ff37468.tar.bz2
Makefile.am: Remove references to c-compiler-name.h and cp-compiler-name.h
* Makefile.am: Remove references to c-compiler-name.h and cp-compiler-name.h * Makefile.in: Regenerate. * compiler-name.hh: New file. * libcc1.cc: Don't include c-compiler-name.h. Include compiler-name.hh. * libcp1.cc: Don't include cp-compiler-name.h. Include compiler-name.hh. Co-Authored-By: Pedro Alves <palves@redhat.com> From-SVN: r254838
Diffstat (limited to 'libcc1/compiler-name.hh')
-rw-r--r--libcc1/compiler-name.hh29
1 files changed, 29 insertions, 0 deletions
diff --git a/libcc1/compiler-name.hh b/libcc1/compiler-name.hh
new file mode 100644
index 0000000..30cdc41
--- /dev/null
+++ b/libcc1/compiler-name.hh
@@ -0,0 +1,29 @@
+/* The names of the compilers we use.
+ Copyright (C) 2017 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 3, or (at your option) any later
+version.
+
+GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
+
+#ifndef COMPILER_NAME_H
+#define COMPILER_NAME_H
+
+// C compiler name.
+#define C_COMPILER_NAME "gcc"
+
+// C++ compiler name.
+#define CP_COMPILER_NAME "g++"
+
+#endif // ! COMPILER_NAME_H