This is the mail archive of the
mailing list for the binutils project.
Require GNU make to build binutils-gdb
- From: Simon Marchi <simon dot marchi at polymtl dot ca>
- To: binutils at sourceware dot org, gdb-patches at sourceware dot org
- Date: Thu, 17 Nov 2016 14:11:12 -0500
- Subject: Require GNU make to build binutils-gdb
- Authentication-results: sourceware.org; auth=none
Hi binutils-gdb folks,
In gdb/, we are now making use of GNU make-specific features (in
particular, pattern rules), so we now require building with GNU make.
We based our decision on the fact that, for every platform on which we
are aware people build GDB on, GNU make is easily available. In fact,
according to the echoes we got, people already use gmake to build gdb
Pedro determined that GNU make 3.81 was practically universally
Additionally, CentOS 6 (so probably RHEL6 as well) and Ubuntu 14.04 have
3.81 in their repos. Just those two probably represent a significant
user base. So, unless we have a really good reason to require something
more recent, I think it makes sense to require GNU make >= 3.81.
For simplicity and consistency, we were wondering if we should adopt the
same policy for the whole binutils-gdb tree. While not necessary, it
opens up the door to using GNU make-specific constructs in other
Makefiles in the tree, possibly improving readability and
maintainability. This change in GDB gives a good idea:
There was a discussion in 2014 that spun off another thread. Nobody
seemed against the idea, but there was no follow-up AFAICT:
In the eventuality this proposition is accepted, should we have a check
in the top-level Makefile that warns the user early if their version of
make is not supported?