Add information about the linking program to prevent linking errors.
Prevent compilation errors such as those encountered when compiling “hello world”.
# c3c build
sh: 1: cc: not found
Failed to link executable 'build/hello' using command 'cc -o build/toto -rdynamic -pthread ....
Although if it's missing using --linker=builtin will work
Sorry, but I tried again with a Docker container on Ubuntu 24.04 with only c3c and libxml2. The result with your option produces this error:
root@4dd523af4351:/# ./c3/c3c --linker=builtin compile hello.c3
Failed to find the C runtime at link time.
Furthermore, this option is not mentioned in the tutorial on compiling hello world.
If you are in a special environment that lacks even a linker and a compiler, then you need to point to the crt files etc to link with. But odds are not even that exists in such an environment. I doubt anything can make it work in a Docker container that is missing all relevant system libraries.
Perhaps the solution would be to add a paragraph listing the minimum packages/libraries required to compile a project with C3, wouldn't it ?