aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2017-08-20Always set the multilib listPalmer Dabbelt1-1/+1
2017-05-31Add support for --with-guile configure flagJohannes Löthberg1-0/+11
And re-run autoreconf to generate the configure script. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2017-05-03Allow the user to flip "--with-system-zlib"Palmer Dabbelt1-0/+11
We need this to have different polarity for different platforms (Windows vs RedHat). I don't know how to autodetect this for now, so I'm just doing it manually.
2017-05-03Add a "--with-host" argumentPalmer Dabbelt1-0/+11
I need to set this in order to build the Windows tools.
2017-05-01Add the "--with-cmodel" configure argumentPalmer Dabbelt1-0/+10
This lets users select the code model when building the tools.
2017-02-01bump; change linux default to RVCAndrew Waterman1-6/+6
2016-12-22Default arch is rv64g, not ERRORAndrew Waterman1-2/+3
2016-12-14Auto detect default value for --with-abi if not givenKito Cheng1-2/+15
2016-12-12Multilibs go in /lib${XLEN}/${ABI}/, e.g. /lib64/lp64/Andrew Waterman1-52/+12
2016-12-12Incorporate new GCC flags and multilib supportAndrew Waterman1-1/+5
2016-11-04Add --enable-gcc-checking to configure option (#191)Kito Cheng1-0/+10
2016-10-13Support an RV32F compilerAndrew Waterman1-8/+3
Soft-float calling convention is default, but an alternate hard-float calling convention (with doubles passed as in soft-float, but floats passed as in hard-float) is supported.
2016-08-10Add retry flag to curl for bad networksColin Schmidt1-1/+1
The buildbot seems to be hammering the newlib servers causing dropped connections so we'll try to backoff and retry.
2016-06-01Add -L option for curl to follow redirects.Masanori Ogino1-1/+1
It is necessary to fetch tarballs from e.g. GitHub. Signed-off-by: Masanori Ogino <masanori.ogino@gmail.com>
2016-05-30Improve handling of --with-arch in configure.acGarret Kelly1-11/+34
Augment the handling of --with-arch such that it can properly set XLEN, atomics flags, and floating point flags. The original --enable-atomics/float flags are still respected, but if --with-arch is provided then it supersedes other options.
2016-04-05Start passing "--enable-soft-float"-like argumentsPalmer Dabbelt1-2/+8
It's no longer the case that building the toolchain with "--disable-float" turns off floating-point by default. This passes the correct arguments to all the various sub-configures in order to ask for floating-point support to be either enabled or disabled.
2015-09-10Fix --enable-multilib for Newlib toolchainAndrew Waterman1-1/+1
You now need to explicitly pass this flag to turn on multilib support.
2015-07-23Don't pass "--with-arch" by defaultPalmer Dabbelt1-2/+2
I commited this too quickly last time and it's been breaking a whole bunch of stuff. Until I managed to get multilib working in a sane way, I'm just going to go ahead and turn it off by default. You can still pass "--with-arch", but doing so while also passing things like "--enable-multilib" or "--disable-atomics" might have unexpected results.
2015-07-02Default to IMAFD, not G for --with-archPalmer Dabbelt1-3/+3
G doesn't actually work.
2015-07-02Rename "--with-base-isa" to "--with-arch"Palmer Dabbelt1-5/+5
This matches the GCC configure option.
2015-07-01Add "--with-base-isa" support to autoconfPalmer Dabbelt1-0/+7
This allows someone to build a RV32I toolchain without going in and messing with the Makefile directly.
2015-04-11Avoid wrapping GNU sed/awk on systems where that's the defaultPalmer Dabbelt1-2/+2
I have no idea why, but the installed "sed" wrapper never terminates on RHEL. If I don't use the wrappen the the tools build fine, so this just uses the already set autoconf variables to attempt to determine if the system sed/awk are gsed/gawk and if they are then this avoids using the wrappers. There's a few oddities here: * I have no idea why the sed wrapper fails, as it seems super safe. * I haven't run into any awk problems, but I figured I'd treat it the same as it isn't any harder. * We shouldn't have to support 10 year old distributions. Hopefully this doesn't break anyone's builds...
2015-04-11Actually fix the build on RHELPalmer Dabbelt1-4/+4
Looks like I managed to screw up my last commit -- I dropped an apparently significant trailing ,.
2015-04-08Download GCC's library dependencies if they don't existPalmer Dabbelt1-8/+10
Some systems don't have things like GMP, MPFR, and friends installed. Rather than requiring them to be installed as root, this uses a bit of GCC's built-in functionality to download these libraries and build them along with GCC. This allows the tools to build on Red Hat, but only if you install newer host tools (I have GCC, make, and texinfo).
2015-03-06configure/Makefile: Add support for more options.Darius Rad1-0/+35
Add support to configure and Makefile.in for --disable-atomic, --disable-float, and --enable-multilib.
2015-03-03Add "--with-xlen" to autoconfPalmer Dabbelt1-0/+7
This allows users to set the register bitwidth via an autoconf option rather than an environment variable.
2015-03-03configure: Fix --enable-linux option.Darius Rad1-3/+8
Use AS_HELP_STRING to properly format help text. Properly handle both states of the option and the default.
2015-02-20Support multiple file transfer utilitiesAlbert Ou1-0/+9
Select between curl(1), wget(1), and ftp(1) through autoconf. Wherever possible, automatically follow HTTP location redirects and enable passive FTP mode. Explicitly instruct tar(1) to read from stdin since this is far from universal behavior if unspecified: The default file is /dev/sa0 in FreeBSD, /dev/rst0 in NetBSD and OpenBSD, etc.
2015-02-20Centralize GNU utility checks in autoconfAlbert Ou1-13/+27
Tests for program presence, such as those formerly embedded in the top-level Makefile for gawk and gsed, are better suited for autoconf. Note that it is not sufficient to merely export AWK and SED environment variables, as packages may still directly invoke awk(1) and sed(1) with non-standard features independent of the autotools framework. Wrapper scripts therefore remain necessary, although these are now generated by the configure script to avoid hard-coded paths. Do not assume the existence of /bin/bash on all systems.
2015-01-09Add an "--enable-linux" option to ./configurePalmer Dabbelt1-0/+6
I keep forgetting that the default option is to build newlib. This flag changes the default target to Linux, so I don't keep forgetting to type "make linux".
2014-09-07gcc: initial gcc 4.9.1 portAndrew Waterman1-0/+20