ZRT - ZeroVM Run-Time environment for user executables running on virtual hardware represented by ZeroVM. ZRT act as part of glibc library and implements zerovm platform dependent functions. ZVM toolchain must be used in order to create user applications;
-
Install ZeroVM, Consult https://github.com/zerovm/zerovm/blob/master/README.md
-
Install ZVM SDK. Consult https://github.com/zerovm/toolchain/blob/master/README.md
-
Clone zrt source
git clone https://github.com/zerovm/zrt.git
-
Set environment variables (in ~/.bashrc, for example)
ZVM_PREFIX -path to zvm toolchain ZEROVM_ROOT -path to ZEROVM folder, used for debugging with gdb ZRT_ROOT -path to ZRT ZPYTHON_ROOT -path to zpython port from cpython2 / cpython3
For example:
export ZEROVM_ROOT=${HOME}/zerovm export ZRT_ROOT=${HOME}/zrt export ZPYTHON_ROOT=${HOME}/zpython
-
Build
cd ${ZRT_ROOT} make