]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/Makefile.in
gdb/: Require a C++ compiler
authorPedro Alves <palves@redhat.com>
Mon, 5 Sep 2016 18:10:44 +0000 (19:10 +0100)
committerPedro Alves <palves@redhat.com>
Mon, 5 Sep 2016 18:10:44 +0000 (19:10 +0100)
commitcf6de44d75082116865a85cbf94db2632b679361
tree5f9fc201a3675b3d4c32fc8ff36f909cbcbbf8dd
parentf245535cf583ae4ca13b10d47b3c7d3334593ece
gdb/: Require a C++ compiler

This removes all support for building gdb & gdbserver with a C
compiler from gdb & gdbserver's build machinery.

gdb/ChangeLog:
2016-09-05  Pedro Alves  <palves@redhat.com>

* NEWS: Mention that a C++ compiler is now required.
* Makefile.in (COMPILER, COMPILER_CFLAGS): Remove.
(COMPILE.pre, CC_LD): Use CXX directly.
(INTERNAL_CFLAGS_BASE): Use CXXFLAGS directly.
* acinclude.m4: Don't include build-with-cxx.m4.
* build-with-cxx.m4: Delete file.
* configure.ac: Remove GDB_AC_BUILD_WITH_CXX call.
* warning.m4: Assume $enable_build_with_cxx is yes.
* configure: Regenerate.

gdb/gdbserver/ChangeLog:
2016-09-05  Pedro Alves  <palves@redhat.com>

* Makefile.in (COMPILER, COMPILER_CFLAGS): Remove.
(COMPILE.pre, CC_LD): Use CXX directly.
(INTERNAL_CFLAGS_BASE): Use CXXFLAGS directly.
* acinclude.m4: Don't include build-with-cxx.m4.
* configure.ac: Remove GDB_AC_BUILD_WITH_CXX call.
* configure: Regenerate.
13 files changed:
gdb/ChangeLog
gdb/Makefile.in
gdb/NEWS
gdb/acinclude.m4
gdb/build-with-cxx.m4 [deleted file]
gdb/configure
gdb/configure.ac
gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in
gdb/gdbserver/acinclude.m4
gdb/gdbserver/configure
gdb/gdbserver/configure.ac
gdb/warning.m4