Gaviar (小志掌機)

build xuantie-gnu-toolchain


參考資料:
1. xuantie-gnu-toolchain

步驟如下:

$ sudo apt-get install autoconf automake autotools-dev curl python3 libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev libexpat-dev

$ cd
$ sudo chmod 0777 /opt/
$ git clone https://github.com/T-head-Semi/xuantie-gnu-toolchain
$ cd xuantie-gnu-toolchain
$ git submodule update --init --recursive
$ ./configure --prefix=/opt/riscv
$ make linux


返回上一頁