Successful Build: llvm-5.0.1 on Solaris 10/sparc

Greetings, All.

Llvm-5.0.1 was successfully built on Solaris 10/sparc.

I first built the Debug version then the Release version with the following cmake/gmake incantations:

cmake \
-DCMAKE_C_COMPILER=/home/build/gcc/5.4.0/bin/gcc \
-DCMAKE_CXX_COMPILER=/home/build/gcc/5.4.0/bin/g++ \
-DCMAKE_INSTALL_PREFIX=/home/build/llvm \

LD_OPTIONS="-z altexec64" gmake

A few problems arose:

1. Added code for strnlen to llvm-5.0.1.src/tools/obj2yaml/macho2yaml.cpp and llvm-5.0.1.src/lib/ObjectYAML/MachOYAML.cpp
(as strnlen() is not POSIX, hence not in <string.h>).

2. Changed grep-->ggrep in
(as "-q" is GNU not POSIX).

3. Release version of llvm-tblgen dumps core: copied over debug version.

Now working on "gmake check".