Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
Clang based CC, new CC interface
Alpha:
--- Quote from: thomas on January 16, 2014, 07:51:59 pm ---You got a working Clang on Windows? How so?
--- End quote ---
I downloaded Clang for Windows form here, installed it, added the proper paths to the project file, and it just worked (which did actually surprise me). Windows .cbp is now committed.
thomas:
Oh wow... last time I checked, that page had something "Windows support is troublesome, but we have a 3.2 experimental build for MSVC only". I had tried their "build from source" instructions (using MinGW, but that failed miserably).
Great, I'll have a look, thank you :)
thomas:
That doesn't seem to have anything like WinAPI headers (or libs) or even C++SL, need to copy those over from MinGW?
killerbot:
as for linux, distros have clang, but for a modern C++ developer :P , you want to use C++11, and then the problem starts, you need their new libc++ library implementation.
As far as i know still hard or impossible to have that on linux, unless someones can tell me otherwise (an the how ) ...
MortenMacFly:
--- Quote from: thomas on January 17, 2014, 11:42:15 am ---That doesn't seem to have anything like WinAPI headers (or libs) or even C++SL, need to copy those over from MinGW?
--- End quote ---
I've seen that, too - in fact I am monitoring this site. The thing is, you can and have to adjust the compiler config to make use of another compiler that provides those API. If I am not mistaken, this works well with that release for VC, but I doubt it will work reliable for MinGW. What I did was compiling clang itself using MinGW (based on Makefiles created for Code::Blocks using cmake) which ensure ABI compatibility with that compiler. Then you can adjust the compiler settings so they point to exactly this MinGW distribution - and have to add very low-level include folders so it actually FINDS the references. This depends on the standard used, so its really fiddling with settings.
Well - that's how far I came. Compiling a very basic app works, but I am far from compiling anything else than that. At linking time you'll see that (i.e.) wxWidgets needs better to be compiled with clang before, too. And so on...
Still a never-ending story. I'm afraid its still no prime time on Windows, yet. :-(
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version