In this
article:
Source Code
License
Navigation:
HomeHardware
Software
Techniques
Controllers
Reviews
Index
Description
This is the main.c
that comes with the Launchpad GCC distribution in
the retarget sample source. It is pretty generic and you can compile it on
any Mac or Linux system and have it print out “Hello World” and then hang.
The Source Code
#include <stdio.h> void main() { printf("Hello, world!"); for (;;); }
License
This work is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License. You are free to play around with it and modify it but you are not licensed to use it for commercial purposes. Click the link above for more details on your rights under this license.