ages Manual | ||
---|---|---|
<<< Previous | Example Project | Next >>> |
To show the process of adding source code a simple Hello World program will be added to the new project.
Select New.
Enter "helloworld.c" as filename and select Regular File as filetype.
Select the newly created file in the filelist listbox and click Edit
Enter the following text in the editor window:
#include <stdio.h> #include <stdlib.h> int main() { printf("Hello World.\n"); return(0); } |
Save the file and close the editor.
Create the Makefile using the New button.
Edit the newly created Makefile and enter the following text:
helloworld: helloworld.c gcc -o helloworld helloworld.c |
Save and close the file.
Click Build Change to build the change.
After the build process is completed run the hello world program by entering
./helloworld |
Click End to end the development cycle.
<<< Previous | Home | Next >>> |
Creating the Aegis config-file | Up | Review Phase |