User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
developers:env_prepare [2018/12/28 16:45]
mick Add infos on multi-lib / newlib-based toolchain
developers:env_prepare [2019/04/10 20:28]
mick [riscv-gnu-toolchain how to]
Line 116: Line 116:
 </​WRAP>​ </​WRAP>​
 +=== musl-based toolchain ===
 +It is possible to build a toolchain based on musl libc, to do this clone https://​​riscv/​riscv-musl.git on the risc-gnu-toolchain top directory and use musl32 and musl64 targets. Note that musl doesn'​t support multi-lib.
 +$ cd riscv-gnu-toolchain
 +$ git clone --recursive https://​​riscv/​riscv-musl.git
 +$ ./configure --prefix=<​install directory>​
 +$ make musl<​xlen>​
 ==== Using the toolchain ==== ==== Using the toolchain ====
developers/env_prepare.txt ยท Last modified: 2019/04/10 20:30 by mick