So I have to use Windows and need the "best" C programming environment you can get on Windows.
I am thinking MSYS2 as it has pacman from Arch which is pretty nice. However I am happy to look at alternatives.
I want to avoid needing extra DLLs for POSIX like cygwin1.dll. Just build against the Windows CRT.
Also is Clang/LLVM a real option yet? Last time I looked it needed the MinGW standard libraries to work?
>>51786289
I think that the only way to use clang is using eclipse , but im not sure.
Probably msys2 is the best option for c/c++ on windows. Or if you dont care just use visual studio.
>>51786289
just install linux in a virtual machine
>>51786559
Yeah I normally use Linux but a few upcoming jobs are to Windows based apps and the customer wants a Windows dev environment.
>>51786627
Visual studio
>>51786636
I would but VS support for modern C is shit.
Code blocks is good no?
>>51786884
Qtcreator?
>>51786289
Cygwin or Babun w/ emacs/vim and gcc/clang. Basically Linux on Windows, except more lightweight
>>51787523
>more lightweight
How so? I thought that the pseudo-emulation done by Cygwin caused it to be more bloated. I use Cygwin every one in a while for SSH/gcc and it runs great though.
>>51787632
nah, cygwin isn't all that bloated. Might be the best option here.
>>51786289
yes, get msys2, having a package manager is great; make sure to use the mingw-w64 shell instead of msys shell (and install mingw-w64-i686-toolchain or mingw-w64-x86_64-toolchain) if you want to avoid dependencies on msys-2.0.dll (aka, msys2's replacement of cygwin1.dll)
>>51786289
Dev-C++
>>51788600
thank you!
>>51786289
PellesC
Though it doesn't have a crazy optimizer so you have to write more optimized code yourself (like doing the loads and stores of a pointer into local variables, don't say *p everywhere), the compiler wont transform it too wildly, no vectorizer for example - which is a good thing imo, but then again I like writing the asm for inner loops.
>>51786992
This guy has the right idea, or if you like eclipse you can use c with it, somehow i never bothered since i use codeblocks for c/c++.
>>51786289
Visual Studio is pretty nice if you can be bothered to learn it. It's extremely bloated though and C isn't really supported anymore.