0

How to find C/C++ Compiler PATH if it's existing already. I installed CLANGD and C/C++command Adapter and C/C++ extension

Compiler PATH

15th Nov 2022, 2:01 AM
Liza Tolentino
7 ответов
+ 2
Tina I'll try this procedure of set up.. Thanks for the info and your precious time
17th Nov 2022, 6:38 PM
Liza Tolentino
+ 1
Is CLANGD a Compiler? And what is the extension of a compiler. Is it .dll, .exe, .bin? I don't know how to recognize extension for compiler. May i ask help please
17th Nov 2022, 6:43 AM
Liza Tolentino
+ 1
Liza Tolentino No, I already told it's a plugin. A compiler consists of many files that are essential for it to run and compile/assemble/link your program. again if you're on windows you have to look for a ".exe" file, which usually is inside a "bin" sub folder. I don't know what compiler you have downloaded.One famous compiler is "mingw". So if you have download and installed that, normally in a windows 64 bit the path would be: "c:\mingw\mingw64\bin" I don't even know your OS and the compiler you've downloaded. A compiler can be integrated with a code editor to make things easier, you write your program in vscode, and with help of an extention of vscode, you can compile and run your program with a single click. You can also write it in notepad then compile and run it manually. So, vscode + compiler + some extensions acts like an IDE (Integrated Development Environment). There are other IDEs available, like Microsoft Visual Studio. An online version of vscode is available at https://vscode.dev/
17th Nov 2022, 1:36 PM
Tina
Tina - avatar
+ 1
17th Nov 2022, 7:18 PM
Tina
Tina - avatar
+ 1
Tina hi. I found an ". exe" file stored in bin which clangd.exe. Is this a compiler?
19th Nov 2022, 6:19 AM
Liza Tolentino
0
Liza Tolentino if you're on windows you have to search for it yourself and then add it to your PATH manually (some installations do it but most don't) so try to remember where did you install it. Usually will be something like "c:\compiler\bin" or "c:\program files\compiler\bin" . but on linux it's already installed and is in the PATH (like gcc). now , clangd is a plugin and I guess you want it for vscode. but c/c++ extension is most likely enough. for clangd there are additional steps to take care of, I never needed that, try following link: https://community.theia-ide.org/t/integrate-vscode-extension-c-c-clang-command-adapter/1311
16th Nov 2022, 12:50 PM
Tina
Tina - avatar
0
Tena do you not given my message answer
17th Nov 2022, 5:07 PM
Lakshya
Lakshya - avatar