Skip to content
This repository was archived by the owner on Feb 15, 2019. It is now read-only.

Building RISC V Chez

Paulo Matos edited this page Aug 27, 2018 · 7 revisions

The current Chez is being ported to RISC-V 64bits. The backend target is trv64le (threaded) and rv64le (non-threaded).

First we need to cross compile Chez using Mf-cross.

Assuming we are on Linux, 64bits:

$ cd Chez
Chez/ $ ./configure && make 

At this point we should have a a6le folder with boot files and scheme binary.

Then we call the cross compile Makefile:

Chez/ $ cd s
Chez/s $ make -f Mf-cross -m a6le -xm rv64le -Scheme "../a6le/bin/scheme -b  ../a6le/boot/a6le/scheme.boot -b ../a6le/boot/a6le/petite.boot"

Clone this wiki locally