This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0/2] gdb: Require a C++11 compiler


On 27/10/16 20:21, Pedro Alves wrote:
> As previously discussed, this patch set makes GDB require a C++11
> compiler.
> 
> You'll find the previous discussions referenced here:
>   https://sourceware.org/ml/gdb-patches/2016-10/msg00607.html
> 
> This is basically the same as I had sent here:
>   https://sourceware.org/ml/gdb-patches/2016-10/msg00336.html
> 
> The only difference is a single-line change that makes C++11 a
> mandatory instead of enabling it iff supported.
> 
> Pedro Alves (2):
>   gdb: Import AX_CXX_COMPILE_STDCXX from the GNU Autoconf Archive
>   gdb: Require C++11
> 
>  gdb/Makefile.in              |   6 +-
>  gdb/acinclude.m4             |   2 +
>  gdb/ax_cxx_compile_stdcxx.m4 | 567 +++++++++++++++++++++++++
>  gdb/config.in                |   3 +
>  gdb/configure                | 981 ++++++++++++++++++++++++++++++++++++++++++-
>  gdb/configure.ac             |   4 +
>  gdb/gdbserver/Makefile.in    |   5 +-
>  gdb/gdbserver/acinclude.m4   |   2 +
>  gdb/gdbserver/config.in      |   3 +
>  gdb/gdbserver/configure      | 981 ++++++++++++++++++++++++++++++++++++++++++-
>  gdb/gdbserver/configure.ac   |   4 +
>  11 files changed, 2552 insertions(+), 6 deletions(-)
>  create mode 100644 gdb/ax_cxx_compile_stdcxx.m4
> 

Sorry, I have to say I think this is too soon (having just found out the
hard way) :-( ).

Half of the machines I use are still running RHE5 and this change means
I can no-longer use the system compiler for building GDB.  A change that
requires use of a non-standard compiler significantly complicates the
process of building (and worse, productizing) GDB builds as now you have
to mess with either forcing static linking or worse, forcing uses to
mess with non-standard LD_LIBRARY paths at run time.

R.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]