This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/2] gdb: Require a C++11 compiler
- From: Pedro Alves <palves at redhat dot com>
- To: "Richard Earnshaw (lists)" <Richard dot Earnshaw at arm dot com>, gdb-patches at sourceware dot org
- Date: Tue, 1 Nov 2016 16:53:38 +0000
- Subject: Re: [PATCH 0/2] gdb: Require a C++11 compiler
- Authentication-results: sourceware.org; auth=none
- References: <1477596094-3244-1-git-send-email-palves@redhat.com> <2f6931ce-8286-9b97-3a67-8228becfa424@arm.com>
Hi Richard,
On 11/01/2016 11:00 AM, Richard Earnshaw (lists) wrote:
> Sorry, I have to say I think this is too soon (having just found out the
> hard way) :-( ).
Sorry for causing you trouble. :-(
> 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
Fortunately, there are gcc 4.8 packages for RHEL5 in DTS2:
https://www.redhat.com/en/about/press-releases/red-hat-releases-red-hat-developer-toolset-2-0-with-update-to-gcc
http://developers.redhat.com/blog/2013/09/12/rh-dts2-ga/
Hopefully the number of users that want new gdb but can't install that
will be limited.
> to mess with either forcing static linking or worse, forcing uses to
> mess with non-standard LD_LIBRARY paths at run time.
Note that just like gcc, gdb builds with -static-libstdc++ -static-libgcc.
Thanks,
Pedro Alves