ARM/x86 Test Cases

In the subdirectories are several small programs that demonstrate the incompatibilities between ARM and x86. To build them using GNU GCC on x86 Linux, simply change to the directory and type:
make CC=gcc

To cross-compile for ARM Linux, edit the Makefile and make sure that the CC variable points to the location of your GNU GCC cross-compiler for ARM. In all of the Makefiles, the default is:

/skiff/local/bin/arm-linux-gcc

If this is correct for you, you can simply run "make".


If you already compiled for x86 and then want to rebuild for ARM, be sure to wipe out the existing object files by running:
make clean


--Trevor Harmon