Once you have entered your program you can think about compiling it. Compiling the program is the first step in the process of getting the program running on our target machine. It converts the program into assembler.

To compile the program click on the compile button:

The compiler will compile the first.c source file: Fig 1.

The output of the compile is shown in the 'Output' box at the bottom of the screen. The program in fig. 1 compiled OK, so there were no errors. If you have not entered the program exactly as above you might get something like: Fig 2.

There is something wrong with the program in fig 2. (see if you can find out what). The compiler has identified the line where it thinks the problem is, and given a somewhat unhelpful message. Note that the line the compiler has noticed the error is not always the line where the mistake was made.

If the program compiled correctly then the linker will automatically kick in to complete the next stage of the build process.