* Sync with trunk r51339.
* Move the static lib creation command from the toolchain file to gcc.cmake
svn path=/branches/cmake-bringup/; revision=51340
- Use portable interlocked functions in code, define them to intrinsics for x86 and x64 in the header
svn path=/branches/cmake-bringup/; revision=49680