You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 8, 2024. It is now read-only.
I'm on Ubuntu 19.04. Trying to build color_coded. Want to build using GCC but it builds using clang. Here is the output of my update-alternatives --config c++ command
There are 2 choices for the alternative c++ (providing /usr/bin/c++).
Selection Path Priority Status
------------------------------------------------------------
0 /usr/bin/g++ 20 auto mode
1 /usr/bin/clang++ 10 manual mode
* 2 /usr/bin/g++ 20 manual mode
Press <enter> to keep the current choice[*], or type selection number:
I'm on Ubuntu 19.04. Trying to build
color_coded. Want to build using GCC but it builds usingclang. Here is the output of myupdate-alternatives --config c++commandHere is the where
/usr/bin/g++is pointing toHere is how I run my
cmakecmake .. -DDOWNLOAD_CLANG=0 -DLLVM_CONFIG=/usr/bin/llvm-config-8 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ONThen I run
makeand here is where I have a problem. I noticed thatcmakeis usingclanginstead ofgcc. Here is one example of the build:[100%] Linking CXX executable color_coded_config_test /usr/bin/cmake -E cmake_link_script CMakeFiles/color_coded_config_test.dir/link.txt --verbose=1 /usr/bin/c++ -std=c++14 -O3 -DNDEBUG -rdynamic CMakeFiles/color_coded_config_test.dir/test/src/config/main.cpp.o -o color_coded_config_test -Wl,-rpath,/usr/lib/llvm-8/lib /usr/lib/llvm-8/lib/libclang.so /usr/lib/llvm-8/lib/libclangTooling.a /usr/lib/llvm-8/lib/libclangToolingCore.a /usr/lib/llvm-8/lib/libclangIndex.a /usr/lib/llvm-8/lib/libclangFrontend.a /usr/lib/llvm-8/lib/libclangFrontendTool.a /usr/lib/llvm-8/lib/libclangDriver.a /usr/lib/llvm-8/lib/libclangFormat.a /usr/lib/llvm-8/lib/libclangCodeGen.a /usr/lib/llvm-8/lib/libclangParse.a /usr/lib/llvm-8/lib/libclangSema.a /usr/lib/llvm-8/lib/libclangEdit.a /usr/lib/llvm-8/lib/libclangAnalysis.a /usr/lib/llvm-8/lib/libclangSerialization.a /usr/lib/llvm-8/lib/libclangStaticAnalyzerFrontend.a /usr/lib/llvm-8/lib/libclangStaticAnalyzerCheckers.a /usr/lib/llvm-8/lib/libclangStaticAnalyzerCore.a /usr/lib/llvm-8/lib/libclangRewriteFrontend.a /usr/lib/llvm-8/lib/libclangRewrite.a /usr/lib/llvm-8/lib/libclangAnalysis.a /usr/lib/llvm-8/lib/libclangAST.a /usr/lib/llvm-8/lib/libclangASTMatchers.a /usr/lib/llvm-8/lib/libclangDynamicASTMatchers.a /usr/lib/llvm-8/lib/libclangLex.a /usr/lib/llvm-8/lib/libclangBasic.a -lLLVM-8 -L/usr/lib/llvm-8/lib libcolor_coded_boost.a -llua5.3 -lm -lcurses -lz -lpthread /usr/lib/llvm-8/lib/libclangSerialization.a /usr/lib/llvm-8/lib/libclangStaticAnalyzerFrontend.a /usr/lib/llvm-8/lib/libclangStaticAnalyzerCheckers.a /usr/lib/llvm-8/lib/libclangStaticAnalyzerCore.a /usr/lib/llvm-8/lib/libclangRewriteFrontend.a /usr/lib/llvm-8/lib/libclangRewrite.a /usr/lib/llvm-8/lib/libclangAST.a /usr/lib/llvm-8/lib/libclangASTMatchers.a /usr/lib/llvm-8/lib/libclangDynamicASTMatchers.a /usr/lib/llvm-8/lib/libclangLex.a /usr/lib/llvm-8/lib/libclangBasic.a -lLLVM-8 -llua5.3 -lm -lcurses -lz -lpthreadHow do I build with
gccinstead ofclang?