Self

Building Your Code

At it's most basic, you can compile a simple example.c file by running the command shown below, inside the SDK chroot. This will create an executable file called example.

gcc example.c -o example

For more complicated programs we recommend using the make command which uses a Makefile to provide complete instructions for building the program. For more information, see the Make Documentation.