Minor issue with the wiki instructions for building a RISC-V target and compiler

Dennis Clarke dclarke at blastwave.org
Fri Feb 22 04:26:07 UTC 2019



After extensive circles and more confusion and some irc chats I went
back to https://wiki.freebsd.org/riscv to follow the instructions
there to the letter.

First snag is :


vesta# mv
${PREFIX}/lib/gcc/riscv64-unknown-freebsd11.2/8.1.0/include-fixed ${PR
EFIX}/lib/gcc/riscv64-unknown-freebsd11.2/8.1.0/include-fixed.rm
mv: rename
/root/riscv/lib/gcc/riscv64-unknown-freebsd11.2/8.1.0/include-fixed t
o
/root/riscv/lib/gcc/riscv64-unknown-freebsd11.2/8.1.0/include-fixed.rm:
No suc
h file or directory
vesta#


There is no such thing with the gcc 8.2.0 and FreeBSD 12.0 so I can
guess that we just skip that step.

I will keep on the path laid on on the wiki with the intention to get
a bootable QEMU type image *with* a basic gnu toolchain and compiler.

Been at this for a week now and really need to just start over from
scratch as nothing I have done allows gcc 8.2.0 to be built for the
target RISC-V rv64imafdc system in sysroot.

More to follow.

-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-riscv/attachments/20190221/7777ca44/attachment.sig>


More information about the freebsd-riscv mailing list