aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2023-05-11configure: change --disable-debug-info to --enable-debug-infoHuaqi Fang1-5/+5
--enable-debug-info will enable debug information when build library Signed-off-by: Huaqi Fang <578567190@qq.com>
2023-04-24[Makefile.in] glibc: Remove unnecessary -g optionMark Goncharov1-0/+11
Using llvm-objdump I found warning if file was compiled using riscv-gcc. Examples: warning: failed to find source riscv-glibc/csu/elf-init.c It concerned with compilation glibc with debug info that is unnecessary operation. If user want to have debug info, than it's easy to pass -g. This option wasn't touched more than 7 years...
2023-04-17Update --with-isa-spec default option.Jiawei1-3/+3
2023-02-20dejagnu: Allow source dir overrideChristoph Müllner1-0/+1
We have this feature for all other packages. It is particularly useful to avoid pointless internet downloads for automatic builds. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
2022-09-29gdb: Bump GDB version to 12.1 (#1132)Christoph Müllner1-1/+1
GDB still defaults to 10.1 from the (already archived) riscv-binutils-gdb repo. Let's bump the version to 12.1 and use the upstream git repo instead. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu> Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
2022-08-18Switch gcc to upstream and update binutils commitsJiawei1-1/+1
2022-08-17Switch binutils to upstream 2.39 branchKito Cheng1-1/+1
2022-05-23Add option '--with-sim' to set simulatorLiaoshihua1-0/+10
2022-05-12Allow users to build QEMU with system-mode emulationPalmer Dabbelt1-0/+11
I'm trying to clean up some of my test scripts, and one issue is that I've got two QEMU builds: one for user-mode emulation and one for system-mode emulation. This adds an autoconf flag that allows me to avoid the duplication. Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-05-11Put the linux-headers bits togetherPalmer Dabbelt1-4/+4
These got split up by my libsanitizer patch. Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-04-21Add an "--enable-libsanitizer" configure-time argumentPalmer Dabbelt1-0/+11
This lets users select whether or not to build libsanitizer, which currently does not support rv32 and thus can't be enabled by default. Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-04-20fix spellingKen Takusagawa1-1/+1
2022-04-12Merge pull request #1054 from riscv-collab/with-isa-spec2022.04.12Kito Cheng1-0/+8
Add --with-isa-spec option to configure
2022-04-11Add --with-isa-spec option to configureKito Cheng1-0/+8
Set the default version to 2.2 for now, and once we bump to GCC 12 we will bump that to 20191213.
2022-02-24Prevent musl riscv32 buildsFlorian Hofhammer1-1/+5
The upstream musl libc does not support 32bit RISC-V builds. We therefore only allow building the 64bit version (i.e., riscv64-unknown-linux-musl-). Signed-off-by: Florian Hofhammer <florian.hofhammer@fhofhammer.de>
2022-02-24Add musl libc submoduleFlorian Hofhammer1-1/+1
Since musl is already incorporated into the build system (see for example configure.ac, Makefile.in), this patch adds a submodule for musl based on the current v1.2.2 release. The GitHub Actions configurations have also been updated to include the musl based toolchain. Signed-off-by: Florian Hofhammer <florian.hofhammer@fhofhammer.de>
2022-02-24Update glibc and newlib pathsFlorian Hofhammer1-2/+2
Both the glibc and newlib submodules are already pointing to the upstream repositories where development happens. Since they are therefore not referring to RISC-V specific forks, this patch unifies the directory naming by only prepending the "riscv-" prefix to submodules that point to repositories in the riscv-collab Github organization. Signed-off-by: Florian Hofhammer <florian.hofhammer@fhofhammer.de>
2022-02-24Use "qemu", not "riscv-qemu", as the default QEMU sourcePalmer Dabbelt1-8/+8
The recent addition of an override for the QEMU source directory left the default pointing to the wrong submodule. Fixes: b83ee52 ("Allow source-override for QEMU") Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
2022-02-10Allow source-override for QEMUChristoph Muellner1-0/+1
This patch introduces a configure-time source-dir override for QEMU similar to the existing overrides for the other toolchain sources. Signed-off-by: Christoph Muellner <cmuellner@linux.com>
2020-11-06Add --with-multilib-generator optionKito Cheng1-1/+13
2020-02-07Correct previous configure fix. Edit configure.ac and regenerate.Jim Wilson1-1/+1
2019-11-05Don't enable gcc checking by default.Jim Wilson1-5/+5
Also, support all gcc checking options instead of just yes and release. Also, fix copy-and-paste error in cmodel support refering to gcc checking.
2019-11-01Add configure options to set target C and C++ compiler flags.Jim Wilson1-0/+15
This is a partial fix for pull request #530, allowing people to use -mno-fdiv for library compiles.
2019-09-29Fix default LINUX_HEADERS_SRCDIR pathAlbert Ou1-1/+1
The --with-headers argument must point to the `include' subdirectory.
2019-09-28Merge pull request #513 from riscv/with-srcKito Cheng1-0/+32
Add option to specify source tree of each component
2019-09-27Add option to specify source tree of each componentKito Cheng1-0/+32
2019-09-26Fix awk/sed wrapper pathsAlbert Ou1-2/+2
These wrappers are still necessary on non-GNU platforms; glibc makefile rules invoke `sed' directly with GNU extensions.
2019-02-15Add toplevel --with-tune= configure option.Jim Wilson1-0/+8
2018-10-10Remove --disable-atomic option, which stopped working about 2 years ago.Jim Wilson1-7/+0
2018-08-31Set correct default abi for rv32eKito Cheng1-0/+1
2017-09-13Split the glibc and newlib multilib names in the MakefilePalmer Dabbelt1-2/+6
2017-09-06Add a "--disable-gdb" argumentPalmer Dabbelt1-0/+11
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.