From 62008cb67bc8ca895bed706ba0ac438b6715c82b Mon Sep 17 00:00:00 2001 From: jakeg00dwin Date: Thu, 6 Mar 2025 17:59:05 -0800 Subject: [PATCH] Updated the instructions for FreeBSD systems. --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 66fae2c..83c33d5 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,14 @@ git submodule update --init --recursive mkdir ./build && cd ./build -# Setup to build newlib. -./configure --prefix=/usr/local/ +# Create needed dir for the output. +mkdir /usr/local/riscv && chmod -R 0775 /usr/local/riscv + +# Setup to build newlib for 32bit embedded and compressed cpus. +./configure --prefix=/usr/local/riscv --with-arch=rv32ec \ + --with-arch=rv32ec \ + --with-abi=ilp32e \ + --with-multilib make -j4 newlib # Some Example options below.