Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

This is a page about showing example application's utilizing the C Language, all built and run natively on the ARM device running Linux.

Table of Contents
indent20px
styledisc

Hello World

Ubuntu/Debian software dependencies

Code Block
sudo apt-get install build-essential
Code Block
titlehello.c
borderStylesolid
#include <stdio.h>

int main (void)
{
  printf ("Hello, world!\n");
  return 0;
}

Build:

Code Block
gcc -Wall hello.c -o hello

Run:

Code Block
voodoo@panda-1gb-a1:~/examples$ ./hello
Hello, world!