My ".bash_profile" file was follow:
PATH=$HOME/local/bin:$PATH
LD_LIBRARY_PATH=$HOME/local/lib:$HOME/local/lib64
LIBRARY_PATH=$HOME/local/lib:$HOME/local/lib64
CMAKE_C_COMPILER=$HOME/local/bin
CMAKE_CXX_COMPILER=$HOME/local/bin
CMAKE_BUILD_TYPE=Release
CMAKE_INSTALL_PREFIX=$HOME/local
export PATH LD_LIBRARY_PATH LIBRARY_PATH CMAKE_BUILD_TYPE CMAKE_INSTALL_PREFIX
CMAKE_C_COMPILER CMAKE_CXX_COMPILER
And I'll show you what gcc version do I have:
[liukai@iZ11idlxpv6Z ~]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/liukai/local/libexec/gcc/x86_64-pc-linux-gnu/6.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../gcc-6.2.0/configure --prefix=/home/liukai/local
--disable-multilib
Thread model: posix
gcc version 6.2.0 (GCC)
If I have any error setting. Please tell me where wrong is. I expect you answer
me as soon._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs