summaryrefslogtreecommitdiff
path: root/config/companion_tools.in
AgeCommit message (Collapse)AuthorFilesLines
2017-01-28Rework configure logic wrt GNU autotoolsAlexey Neyman1-24/+0
Rather than requiring them of a certain version, detect if they are present (and have sufficient version) and select an appropriate companion tool otherwise. The reason is that, for example, most recent gettext requires automake 1.15, but the newest available CentOS has 1.13. Hence, the option to "upgrade your system" does not apply, and the warning comment above the companion tools is rather scary. With this approach, it will work out of the box - either by using the host's tools, or by building them as needed. Note that the user can still change the setting in the config. While there, propagate the new version checking macro to awk/bash/host binutils, and switch from --with-foo=xxx to officially blessed FOO=xxx: the latter does not require checking for bogus values (i.e., --with-foo, --without-foo) and AC_PROG_* macros recognize the corresponding settings without further modifications. For now, I kept --with-foo=, if only to complain and steer people to the new way. To be cleaned up after a release. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-02Add 'companion tools for host' step.Alexey Neyman1-1/+9
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-11-22Give companion tools some love.Alexey Neyman1-33/+3
Allow selection of make/m4/... version. Support imports of new versions via addToolVersion.sh. Import newest versions of the companion tools. One non-trivial change is the handling of make versions. Existing code was not handling make companion tool as described (see the previous commit). However, since most modern systems have make 4.x, that previous commit made crosstool-ng always build make as a companion tool. This traces back to the commit dd15c93 from 2014. That commit's log message says that actually it was 3.81 which broke the build for certain component (it was originally breaking eglibc, but I noticed it was breaking current glibc on powerpc64), and introduced an option to force using 3.81 by "components that really need it". It looks like in 2.5 years we haven't seen any such components that really need make 3.81, and (given that make has already had a few releases since 3.81) we're unlikely to see them in the future. Hence, the configure check is changed from "exactly 3.81" to "3.81 or newer". In its current form, configure will accept make 3.80+, and will not require make as a companion tool for 3.81+. We might want to bump the latter check to even newer version given the claim from dd15c93. Killed COMP_TOOLS_make_3_81_NEEDED. Anyway, I retained 3.81 just in case; ditto for m4 1.14.3, autoconf 2.65 and automake 1.11.1. Signed-off-by: Alexey Neyman <stilor@att.net>
2015-01-09comptools/make: Install 'gmake' symlinkBernhard Walle1-0/+5
We had following problem: We're building a toolchain with an old glibc version for compatibility with old Linux distributions (glibc 2.9). This version requires make < 4 to build. However, the configure script of glibc looks for make in the order "gnumake", "gmake" and "make". So when "gmake" is available in the system (which is the case on Gentoo Linux per default, unfortunately), then configure finds the system gmake 4.1 instead of the ct-ng make 3.82. This patch adds an option to install a symlink so that 'gmake' is also available in the old version when building toolchains. Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
2014-03-11comptools: do not force build of make-3.81 unless really neededYann E. MORIN"1-1/+5
On systems with make-3.82, we forcibly force the build and the use of make-3.81 But some newer tools break when building with make-3.81. For example, eglibc-3.18 breaks. Introduce a new blind options that tools may select if they require make-3.81. If the system does not have make-3.81, and this option is selected, then we force the build of make-3.81. Otherwise, we leave it to the user to decide on his own. Note that no component selects this option for now. It will come in later patches as we find them. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-02-20If GNU make 3.81 is not found then build it as a companion tool.Ray Donnelly1-0/+8
Signed-off-by: Ray Donnelly <mingw.android@gmail.com> [yann.morin.1998@free.fr: add message "checking for make 3.81"] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Message-Id: <8b8bf6998f3d239f6c74.1392920971@advancedsearch.virginmedia.com> Patchwork-Id: 322302
2014-02-20Companion tools are no longer experimentalRay Donnelly1-4/+0
Signed-off-by: Ray Donnelly <mingw.android@gmail.com> Message-Id: <3e204a5cf9648db53a6a.1392920970@advancedsearch.virginmedia.com> Patchwork-Id: 322301
2011-01-28comptools: add make-3.81Yann E. MORIN"1-0/+5
Since the advent of make-3.82, some packages now break due to changes in make-3.82, being stricter than 3.81 when interpreting the Makefiles. This has bugged us a bit too much so far, and I believe fixing all of them is a long road, while simply building make-3.81 is the easiest route for now. Of course, in the long term, packages will get fixed upstream, and we should back-port the fixes to old versions, and get rid of building make-3.81. In the meantime... Reported several times on the mailing list. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-01-12companion_tools/libtool: Add libtool toolRichard Strand1-0/+5
Add version 2.2.6b of libtool as a companion tool Signed-off-by: Richard Strand <richard.strand@icomera.com>
2010-01-12companion_tools/automake: Add automake toolRichard Strand1-0/+5
Add version 1.11.1 of automake as a companion tool Signed-off-by: Richard Strand <richard.strand@icomera.com>
2010-01-12companion_tools/m4: Add m4 toolRichard Strand1-0/+5
Add version 1.4.13 of m4 as a companion tool Signed-off-by: Richard Strand <richard.strand@icomera.com>
2010-01-12companion_tools/autoconf: add autoconf toolYann E. MORIN"1-0/+28
Initial version of adding autoconf as a companion tool. Signed-off-by: Richard Strand <richard.strand@icomera.com> [yann.morin.1998@anciens.enib.fr: use generic overide tools dir] [yann.morin.1998@anciens.enib.fr: update menu entries] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>