Giter Club home page Giter Club logo

Comments (2)

jjtoms4s avatar jjtoms4s commented on June 29, 2024

i set up the riscv enviroment with this command: export RISCV=/path/to/install/riscv/toolchain
and it worked. it seems i used the former built toolchain,but does it ok to use this toolchain.
can anyone explain the difference between the different versions of riscv-toolchain/gcc i m a little confused

from freedom.

nanoeng avatar nanoeng commented on June 29, 2024

Had a similar issue and script was reporting the following messages

./riscv-tools/build.sh: line 6: build.common: No such file or directory
Starting RISC-V Toolchain build process
./riscv-tools/build.sh: line 19: build_project: command not found
./riscv-tools/build.sh: line 21: build_project: command not found
./riscv-tools/build.sh: line 22: build_project: command not found
./riscv-tools/build.sh: line 23: build_project: command not found
./riscv-tools/build.sh: line 24: build_project: command not found
./riscv-tools/build.sh: line 25: build_project: command not found

After some digging, tried the following steps and got it going

  1. Set up RISCV as described above
  2. Run build.sh from path/to/freedom/rocket-chip/riscv-tools (for any reason, the script does not show error/warning messages when run at a different location). This step should take a little while (be suspicious if it doesn't)
  3. issues & errors might arise and would require GCC is installed piece by piece
  4. If errors show up, install libgmp-dev and libmpc (using 'sudo apt-get install libmpc-dev')

from freedom.

Related Issues (20)

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.