diff options
author | Ronan Barzic <rbarzic@gmail.com> | 2016-07-01 10:42:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-01 10:42:45 +0200 |
commit | 6fb6d2a064b449e2f66929f1ecd18c0acfd86f5f (patch) | |
tree | e0596da197eeaa35dae7d817bebb6c90650da324 /README.md | |
parent | 2ffda4e4653a5b8d55b86e26019deea5aaa1bb96 (diff) | |
download | riscv-gnu-toolchain-6fb6d2a064b449e2f66929f1ecd18c0acfd86f5f.zip riscv-gnu-toolchain-6fb6d2a064b449e2f66929f1ecd18c0acfd86f5f.tar.gz riscv-gnu-toolchain-6fb6d2a064b449e2f66929f1ecd18c0acfd86f5f.tar.bz2 |
Add instruction about submodules
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -5,6 +5,20 @@ This is the RISC-V C and C++ cross-compiler. It supports two build modes: a generic ELF/Newlib toolchain and a more sophisticated Linux-ELF/glibc toolchain. +### Getting the sources + +This repository uses submodules. You need the --recursive option to fetch the submodules automatically + + $ git clone --recursive https://github.com/riscv/riscv-gnu-toolchain + +Alternatively : + + $ git clone https://github.com/riscv/riscv-gnu-toolchain + $ cd riscv-gnu-toolchain + $ git submodule update --init --recursive + + + ### Prerequisites Several standard packages are needed to build the toolchain. On Ubuntu, |