larsbrinkhoff / lbForth

Self-hosting metacompiled Forth, bootstrapping from a few lines of C; targets Linux, Windows, ARM, RISC-V, 68000, PDP-11, asm.js.
GNU General Public License v3.0
423 stars 113 forks source link

RISC-V build: Undefined eax #91

Closed Phi-Ho closed 3 years ago

Phi-Ho commented 3 years ago

Dear List,

I am trying to build a RISC-V image and got this error:

PS F:\fun\lbForth\build\wsl\META\w4\FULL> ./i lbForth ok include targets/riscv/build.fth Undefined: eax

Am I doing something wrong here?

Regards,

phiho

larsbrinkhoff commented 3 years ago

You should build the RISC-V target like this: make TARGET=riscv OS=linux