Cannot open linker script file riscv.ld - Printable Version +- PULP Community (https://pulp-platform.org/community) +-- Forum: PULP's Community forum (https://pulp-platform.org/community/forumdisplay.php?fid=1) +--- Forum: PULP General questions (https://pulp-platform.org/community/forumdisplay.php?fid=2) +--- Thread: Cannot open linker script file riscv.ld (/showthread.php?tid=200) |
Cannot open linker script file riscv.ld - nayan - 08-05-2020 I downloaded pulp-riscv-gnu-toolchain and did installation(PULP). When i try to compile a program using riscv32-unknown-elf-gcc, I get the following error /opt/riscv/lib/gcc/riscv32-unknown-elf/7.1.1/../../../../riscv32-unknown-elf/bin/ld: cannot open linker script file riscv.ld: No such file or directory collect2: error: ld returned 1 exit status RE: Cannot open linker script file riscv.ld - bluewww - 08-05-2020 Yes that is a known bug with the pulp-gcc port (not having a default working linker script). You need to pass your linker script with `-T your-linker-script.ld` |