Closed JunningWu closed 4 years ago
platform: ubuntu 16.04 toolchain: pulp-riscv-gnu-toolchain, Newlib cross-compiler for all pulp variants after fixing some errors while building pulpino according to https://github.com/pulp-platform/pulpino/issues/281#issuecomment-477085049 when run make hello_world.vsimc,
[ 50%] Linking CXX executable helloworld.elf /home/llvm/workspace/pulp/pulp-tc-newlib/lib/gcc/riscv32-unknown-elf/7.1.1/../../../../riscv32-unknown-elf/bin/ld: unrecognised emulation mode: elflriscv Supported emulations: elf32lriscv elf64lriscv collect2: error: ld returned 1 exit status apps/helloworld/CMakeFiles/helloworld.elf.dir/build.make:101: recipe for target 'apps/helloworld/helloworld.elf' failed make[3]: *** [apps/helloworld/helloworld.elf] Error 1 CMakeFiles/Makefile2:1578: recipe for target 'apps/helloworld/CMakeFiles/helloworld.elf.dir/all' failed make[2]: *** [apps/helloworld/CMakeFiles/helloworld.elf.dir/all] Error 2 CMakeFiles/Makefile2:956: recipe for target 'apps/helloworld/CMakeFiles/helloworld.vsimc.dir/rule' failed make[1]: *** [apps/helloworld/CMakeFiles/helloworld.vsimc.dir/rule] Error 2 Makefile:376: recipe for target 'helloworld.vsimc' failed make: *** [helloworld.vsimc] Error 2
https://github.com/pulp-platform/pulpino/issues/240 does not provide a clear solution, have we got an working version pulp-riscv-gnu-toolchain for pulpino, or should we still use https://github.com/pulp-platform/ri5cy_gnu_toolchain?
@haugoug @FrancescoConti
using ri5cy_gnu_toolchain solved the problem.
platform: ubuntu 16.04 toolchain: pulp-riscv-gnu-toolchain, Newlib cross-compiler for all pulp variants after fixing some errors while building pulpino according to https://github.com/pulp-platform/pulpino/issues/281#issuecomment-477085049 when run make hello_world.vsimc,
https://github.com/pulp-platform/pulpino/issues/240 does not provide a clear solution, have we got an working version pulp-riscv-gnu-toolchain for pulpino, or should we still use https://github.com/pulp-platform/ri5cy_gnu_toolchain?