Updated the instructions for FreeBSD systems.

This commit is contained in:
jakeg00dwin 2025-03-06 17:59:05 -08:00
parent 147349868d
commit 62008cb67b

View file

@ -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.