aboutsummaryrefslogtreecommitdiff
path: root/dejagnu
diff options
context:
space:
mode:
authorChristoph Müllner <christoph.muellner@vrull.eu>2024-02-06 10:21:22 +0100
committerChristoph Müllner <christophm30@gmail.com>2024-02-29 08:33:56 +0100
commit19464804adf3a8ec03de55a29de984e053f6cb3a (patch)
treec5f8dc59d25472e31052928701ac57b039cc1710 /dejagnu
parentaac79d6ff2a89922e1bf6260444ae8839729304f (diff)
downloadriscv-gnu-toolchain-19464804adf3a8ec03de55a29de984e053f6cb3a.zip
riscv-gnu-toolchain-19464804adf3a8ec03de55a29de984e053f6cb3a.tar.gz
riscv-gnu-toolchain-19464804adf3a8ec03de55a29de984e053f6cb3a.tar.bz2
Add support to build a host GCC for building the toolchain
A significant amount of users of this project are using it for toolchain development. These users need to ensure that their code is warning free before submitting it upstream. Let's support this use case by adding a configure flag '--enable-host-gcc', which does exactly that: * build a host GCC before building other components * setting PATH such that this new GCC is used to build the cross toolchain * enable -Werror for the GCC build This patch was tested on a Fedora 39 machine (GCC 13), with the following modification in a GCC source file: #if __GNUC__ == 13 #error Host compiler in use! #endif This fails when building without the new flag and does not fail when building with latest upstream/master (GCC 14 prerelease). The '--enable-werror-always' was tested with a warning that showed up recently in upstream GCC. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'dejagnu')
0 files changed, 0 insertions, 0 deletions