Skip to content

Commit

Permalink
Merge branch 'riscv-collab:master' into enable-musl-rv32
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyMurphyTM1234 authored Oct 9, 2024
2 parents 4927cc7 + 071f07c commit dd2e63d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -426,17 +426,18 @@ it will has a section named `gcc` and has a field `branch` is

#### Use Source Tree Other Than `riscv-gnu-toolchain`

`riscv-gnu-toolchain` also support using out-of-tree source to build toolchain,
there is couple configure option to specify the source tree of each
`riscv-gnu-toolchain` also supports using out-of-tree source to build the toolchain.
There are several configure options for specifying the source tree of each
submodule/component.

For example you have a gcc in `$HOME/gcc`, use `--with-gcc-src` can specify that:
For example, if you have GCC sources in `$HOME/gcc`, use `--with-gcc-src` to build the toolchain using those sources:

./configure --with-gcc-src=$HOME/gcc
./configure ... --with-gcc-src=$HOME/gcc

Here is the list of configure option for specify source tree:
Here is the list of configure options for specifying alternative sources for the various submodules/components:

--with-binutils-src
--with-dejagnu-src
--with-gcc-src
--with-gdb-src
--with-glibc-src
Expand All @@ -447,6 +448,7 @@ Here is the list of configure option for specify source tree:
--with-pk-src
--with-qemu-src
--with-spike-src
--with-uclibc-src

#### Build host GCC to check for compiler warnings

Expand Down

0 comments on commit dd2e63d

Please sign in to comment.