OSWALD SDK
There are both 32 and 64 bit SDKs for Linux available here in the i686-linux and x86_64-linux directories, respectively. In order to use the SDK, you must either have access to a native Linux environment or be able to install the SDK in a virtual machine.
The SDK contains many standard libraries and tools to build and develop software for the OSWALD, but you may find your favorite library or tool missing. If this is the case, you can file a package request ticket and a developer will take a look at the requested package and possibly include it in the next SDK or provide an external package that can be installed on top of a SDK.
Installing the SDK
First, download the appropriate SDK for your system (you can use the command "uname -m" to determine your architecture).
Next, open a terminal in the directory of the SDK archive and unpack the archive using the following command, replace <filename> with the filename of the archive (usually something like: radix-1.9-20090902-armv7a-linux-gnueabi-toolchain-radix.tar.bz2):
sudo tar xvjf <filename> -C /
You are now ready to use the SDK.
Using the SDK
There are a number of environment variables that must be setup in order to properly use the toolchain. Luckily there is a simple way to set all this up. From the terminal you will use for compiling run:
source /usr/local/radix/arm/environment-setup
Now you can use the SDK. To compile your first program for arm, make a file called hello_world.c with the following contents:
#include <stdio.h> int main() { printf("Hello World\n"); return 0; }
Compile your program with the following command:
arm-radix-linux-gnueabi-gcc hello_world.c -o hello_world
The resulting program can be transferred to an OSWALD and run.
