eeee1a3361
The -dumpmachine flag returns a platform and this is exactly the same as clang --version returns in "Target:" line. Also the same flag works for other compilers: $ gcc -dumpmachine x86_64-linux-gnu $ clang -dumpmachine x86_64-pc-linux-gnu