I want to know what C11 compilers exist for Windows.

Even better if whatever libraries they use support native C11 threads (ie: not some hacked stuff on top of pthreads).

  • native C knows NOTHING about threads. However, certain libraries do implement threads. The preferred library to use is libpthread.so which is included in the link statement via -lpthread and implements the posix thread functions. – user3629249 Dec 17 '16 at 14:57
  • @user3629249, C11 does have threads support. Look here: open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf Of course, threads.h implementation depends on a platform or it is a wrapper around platform-specific library. – tysonite Feb 15 '17 at 18:56
  • Must this complier be free, or do you have abudget? – Mawg says reinstate Monica Feb 16 '17 at 8:59
  • @tysonite, That section (page 386) is a reference to an available/standard library, not part of the C language, but expected to be implemented with the language. – user3629249 Feb 18 '17 at 16:39

there are a number of 'compilers' for C on windows.

Most are just a front end (GUI) for the gcc compiler

| improve this answer | |
  • Can you list them? Can you justify that? And, since you say "most", then any which is not included in "most" would be an answer ... – Mawg says reinstate Monica Feb 16 '17 at 8:59
  • Neither I nor anyone else would have a complete list of compilers. So the answer can only be in 'generalities'. – user3629249 Feb 18 '17 at 16:27
  • I have used, at least, 20 different compilers that ran on windows (many were cross compilers for other CPUs/Microcontrollers/Microprocessors.) – user3629249 Feb 18 '17 at 16:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.