User forums > General (but related to Code::Blocks)
Microsoft C/C++ compiller
Krice:
--- Quote from: lbertolotti on July 01, 2017, 11:36:31 pm ---What is the best way of configuring a Microsoft C/C++ compiller on Code::Blocks?
--- End quote ---
Is there any reason to use it? What is the problem with gcc?
cacb:
I have a writeup for MSCV2013 here. Newer versions of MSVC will need some adaptions.
oBFusCATed:
--- Quote from: Krice on July 03, 2017, 12:58:55 pm ---Is there any reason to use it? What is the problem with gcc?
--- End quote ---
Uses different abi, so building plugins for other softwares is hard.
Also it produces different symbols, so debugging mixed applications (gcc and vc++) is hard.
Hopefully clang for windows will make it possible to use good free compiler and target the same runtime as vc++.
lbertolotti:
--- Quote from: cacb on July 03, 2017, 03:16:50 pm --- Newer versions of MSVC will need some adaptions.
--- End quote ---
Well, I have configured Code::Blocks to compile using Microsoft Visual Studio Build Tools 2017.
--- Code: ----------------- Build: Debug in example_mic (compiler: Microsoft VC 2017)---------------
Target is up to date.
Nothing to be done (all items are up-to-date).
-------------- Run: Debug in example_mic (compiler: Microsoft VC 2017)---------------
Checking for existence: C:\Users\lucao\Desktop\example_mic\bin\Debug\example_mic.exe
Executing: "C:\Program Files (x86)\CodeBlocks/cb_console_runner.exe" "C:\Users\lucao\Desktop\example_mic\bin\Debug\example_mic.exe" (in C:\Users\lucao\Desktop\example_mic\.)
Process terminated with status 0 (0 minute(s), 1 second(s))
--- End code ---
Where is the Code::Blocks global compiler settings file stored?
oBFusCATed:
It depends. Most of the settings are stored in default.conf in you appdata/codeblocks folder. But some of the compiler settings are stored in separate files inside this folder.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version