3 ms·
FWIW I was able to compile it on RISC-V hardware (the SiFive Unleashed) running recent Fedora. $ make gcc -I /usr/include -I. -g -nostdlib -static -o jones
by rwmj 6y ago
FWIW I was able to compile it on RISC-V hardware (the SiFive Unleashed) running recent Fedora.
$ make
gcc -I /usr/include -I. -g -nostdlib -static -o jonesforth jonesforth.S
$ gcc --version
gcc (GCC) 10.0.1 20200121 (Red Hat 10.0.1-0.4)
$ as --version
GNU assembler version 2.34-2.fc32
The tests don't all pass, but the basic system seems to work.
- thu 6y agoBTW, thanks a lot for writing jonesforth.S, it's a joy to read ! I read it a year or two ago, and I was revisiting it these days, hoping to write some RISC-V assembly when I found the repository you just submitted.