<html><head></head><body><div class="ydp4143eec5yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div><div dir="ltr" data-setdir="false">Hi,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">May I know what is wrong with the specifying a non-system gcc path?</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>$ cmake .. -DCMAKE_C_COMPILER=/storage/users/mnaderan/tools/gcc-6.1.0/bin/gcc -DCMAKE_CXX_COMPILER=/storage/users/mnaderan/tools/gcc-6.1.0/bin/g++                                   -- The C compiler identification is unknown<br>-- The CXX compiler identification is unknown<br>-- Check for working C compiler: /storage/users/mnaderan/tools/gcc-6.1.0/bin/gcc<br>-- Check for working C compiler: /storage/users/mnaderan/tools/gcc-6.1.0/bin/gcc -- broken<br>CMake Error at /storage/users/mnaderan/tools/cmake-3.15.4/share/cmake-3.15/Modules/CMakeTestCCompiler.cmake:60 (message):<br>  The C compiler<br><br>    "/storage/users/mnaderan/tools/gcc-6.1.0/bin/gcc"<br><br>  is not able to compile a simple test program.<br><br>  It fails with the following output:<br><br></div><div><br></div><div><br></div><div><br></div></div><div class="ydp4143eec5signature">Regards,<br>Mahmood</div></div></div></body></html>