Giter Site home page Giter Site logo

nds-gnu-toolchain's Introduction

nds-gnu-toolchain

GNU toolchain for AndesCore

Getting the sources

$ git clone https://github.com/andestech/nds-gnu-toolchain.git -b <branch_name>
$ git submodule update --init --recursive

Prerequisites

Several standard packages are needed to build the toolchain.

On Ubuntu, executing the following command should suffice:

$ 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

On Fedora/CentOS/RHEL OS, executing the following command should suffice:

$ sudo yum install autoconf automake python3 libmpc-devel mpfr-devel gmp-devel gawk bison flex texinfo patchutils gcc gcc-c++ zlib-devel expat-devel

Installation (Newlib)

First, you must define the variables in script "build_elf_toolchain.sh" as shown in the table. Then, you can execute the script to build and install toolcahin. The default setting is "nds32le-elf-newlib-v5".

Toolchain ARCH ABI CPU TARGET
nds32le-elf-newlib-v5 rv32imcxv5 ilp32 n25 riscv32-elf
nds32le-elf-newlib-v5f rv32imfcxv5 ilp32f n25 riscv32-elf
nds32le-elf-newlib-v5d rv32imfdcxv5 ilp32d n25 riscv32-elf
nds64le-elf-newlib-v5 rv64imcxv5 lp64 nx25 riscv64-elf
nds64le-elf-newlib-v5f rv64imfcxv5 lp64f nx25 riscv64-elf
nds64le-elf-newlib-v5d rv64imfdcxv5 lp64d nx25 riscv64-elf

Installation (Linux)

First, you must define the variables in script "build_linux_toolchain.sh" as shown in the table. Then, you can execute the script to build and install toolcahin. The default setting is "nds32le-linux-glibc-v5d".

Toolchain ARCH ABI CPU TARGET
nds32le-linux-glibc-v5 rv32imacxv5 ilp32 n25 riscv32-elf
nds32le-linux-glibc-v5d rv32imafdcxv5 ilp32d n25 riscv32-elf
nds64le-linux-glibc-v5 rv64imacxv5 lp64 nx25 riscv64-elf
nds64le-linux-glibc-v5d rv64imacfdxv5 lp64d nx25 riscv64-elf

nds-gnu-toolchain's People

Contributors

shaochung avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.