This directory contains all the user applications built with using Tilck's
build system. Each application has to be explicitly added into the
CMakeLists.txt file. Applications can be made by more than once C file and the
pattern used by the build system is to treat all C files matching the wildcard
${APPNAME}*.c
as part of the application named ${APPNAME}
.
If you want to test your own application on Tilck, you have two choices:
-
Make it compatible with Tilck's CMake build system and put a symlink to its root directory in
extra
[seeextra/README.md
for more]. -
Compile it and link it statically using Tilck's GCC libmusl toolchain [
toolchain2/x86_gcc_toolchain
]. After that, could can just drop the executable in sysroot/usr/bin. In order to just rebuild Tilck's image, updating the sysroot, use themake rebuild_img
command.