Added a cast for suppressing warning.
Added CMakeList.txt.
Made variable const.
Removed static initializers which already exist global.
Added ctype include.
Added ARGV[0] as search path for manual.txt.
Changed line endings to linux style (LF only).
Added toolchain file and top level CMakeLists file.
Added compile instructions.