You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The newlib C library compilation process was looking for tools installed with the prefix riscv-unknown-elf-xyz whereas the tools built in the gcc and binutils build phases did not include unknown in the tool names.
Configure based on README.md instructions (see diff below).
Expected behavior
Binutils, gcc, and newly should build cleanly.
Screenshots
N/A.
Host OS (please complete the following information):
OS: Ubuntu 18.04 virtual machine.
You local changes (please complete the following information):
Output of git diff
git diff
diff --git a/conf/setup.conf b/conf/setup.conf
index 80ff556..4408e16 100755
--- a/conf/setup.conf+++ b/conf/setup.conf@@ -1,19 +1,22 @@#### You will want to change the following to suit your setup:##-SUNFLOWERROOT = /usr/local/src/git/sunflower-simulator-github-clone++++SUNFLOWERROOT = /home/user/sunflower-simulator
OSTYPE = linux
MACHTYPE = i386
-TARGET = superH+TARGET = riscv
TARGET-ARCH-FLAGS = -DM32
-TARGET-ARCH = sh-elf+TARGET-ARCH = riscv32-elf
GMAKE = /usr/bin/make
## Specifies the architecture used. Uncomment for riscv builds.#-#ADDITIONAL_ARCH_FLAGS = --with-cpu=rv32i#fd+ADDITIONAL_ARCH_FLAGS = --with-cpu=rv32i#fd## On newer versions of macOS, you will need to install gcc
Additional context
The newlib C library compilation process was looking for tools installed with the prefix riscv-unknown-elf-xyz whereas the tools built in the gcc and binutils build phases did not include unknown in the tool names. Can remedy this by aliasing / creating symbolic links to what the C library compilation process needed in tools/bin and then re-run the last stage of the make cross process (i.e., make newlib).
The text was updated successfully, but these errors were encountered:
Describe the bug
The
newlib
C library compilation process was looking for tools installed with the prefixriscv-unknown-elf-xyz
whereas the tools built in thegcc
andbinutils
build phases did not includeunknown
in the tool names.To Reproduce
Steps to reproduce the behavior:
README.md
instructions (see diff below).Expected behavior
Binutils, gcc, and newly should build cleanly.
Screenshots
N/A.
Host OS (please complete the following information):
You local changes (please complete the following information):
git diff
Additional context
The
newlib
C library compilation process was looking for tools installed with the prefixriscv-unknown-elf-xyz
whereas the tools built in thegcc
andbinutils
build phases did not includeunknown
in the tool names. Can remedy this by aliasing / creating symbolic links to what the C library compilation process needed intools/bin
and then re-run the last stage of themake cross
process (i.e.,make newlib
).The text was updated successfully, but these errors were encountered: