Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (18 sloc) 811 Bytes

Compiling Applications

Building a host and enclave application using the SDK is straight-forward. See Keystone-Demo as an example.


All compilation will need to be done using the riscv64- toolchain. This is provided by the riscv-gnu-toolchain submodule, and must be built first.


Hosts and enclave applications will want to link against the edge library libkeystone-edge.a

Hosts will want to link against the host library libkeystone-host.a

Applications will want to link against the enclave app library libkeystone-app.a


Eapps need to be linked in a specific way. As this may change, please see the linker script in the sdk/tests directory to see the most up to date linking requirements.