Title is pretty straightforward. Stupid question but I’m just generally curious.
Personally my favourite is MSVC because well GCC is just slower on Windows, but GCC has the upper edge in working on anything below Win7.
What is your favourite C compiler?
Forum rules
The Off-Topic area is a general community discussion and chat area with special rules of engagement.
Enter, read and post at your own risk. You have been warned!
While our staff will try to guide the herd into sensible directions, this board is a mostly unrestricted zone where almost anything can be discussed, including matters not directly related to the project, technology or similar adjacent topics.
We do, however, require that you:
Please do exercise some common sense. How you act here will inevitably influence how you are treated elsewhere.
The Off-Topic area is a general community discussion and chat area with special rules of engagement.
Enter, read and post at your own risk. You have been warned!
While our staff will try to guide the herd into sensible directions, this board is a mostly unrestricted zone where almost anything can be discussed, including matters not directly related to the project, technology or similar adjacent topics.
We do, however, require that you:
- Do not post anything pornographic.
- Do not post hate speech in the traditional sense of the term.
- Do not post content that is illegal (including links to protected software, cracks, etc.)
- Do not post commercial advertisements, SEO links or SPAM posts.
Please do exercise some common sense. How you act here will inevitably influence how you are treated elsewhere.
-
ownedbywuigi
- Fanatic

- Posts: 242
- Joined: 2026-03-09, 21:48
- Location: United Kingdom
What is your favourite C compiler?
Lead Dactyloidae developer.
Feedback needed! https://forum.palemoon.org/viewtopic.ph ... 30#p272630
Feedback needed! https://forum.palemoon.org/viewtopic.ph ... 30#p272630
-
athenian200
- Contributing developer

- Posts: 1749
- Joined: 2018-10-28, 19:56
- Location: Georgia
Re: What is your favourite C compiler?
I would also say MSVC is my favorite on Windows.
Between Clang and GCC on Windows though, I would have to give the win to Clang there. Clang-cl does better than GCC if you're using anything other than MSVC to build Windows binaries, and also has the advantage of accepting MSVC-style command line arguments, while being more compatible with GNU Make in subtle ways. Mozilla picked it for a reason, we just didn't want to give up the performance advantages of MSVC binaries. GCC is probably the worst of the three options for Windows, which I'm sad to say because I like it on other platforms.
Though I am not as thrilled with the idea of using Clang on Linux or other Unix-like operating systems. For one thing, GCC has much better compatibility with SunOS than Clang does, and also seems to produce better binaries on Linux.
So overall my take is:
MSVC is best on Windows but doesn't work anywhere else. GCC is better on non-Windows especially on less popular platforms, Clang is basically "good enough" on Windows and Linux in a variety of contexts, but isn't really something you'd pick unless you just want to standardize on one compiler for all platforms and have something uniform.
Between Clang and GCC on Windows though, I would have to give the win to Clang there. Clang-cl does better than GCC if you're using anything other than MSVC to build Windows binaries, and also has the advantage of accepting MSVC-style command line arguments, while being more compatible with GNU Make in subtle ways. Mozilla picked it for a reason, we just didn't want to give up the performance advantages of MSVC binaries. GCC is probably the worst of the three options for Windows, which I'm sad to say because I like it on other platforms.
Though I am not as thrilled with the idea of using Clang on Linux or other Unix-like operating systems. For one thing, GCC has much better compatibility with SunOS than Clang does, and also seems to produce better binaries on Linux.
So overall my take is:
MSVC is best on Windows but doesn't work anywhere else. GCC is better on non-Windows especially on less popular platforms, Clang is basically "good enough" on Windows and Linux in a variety of contexts, but isn't really something you'd pick unless you just want to standardize on one compiler for all platforms and have something uniform.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind
-
ownedbywuigi
- Fanatic

- Posts: 242
- Joined: 2026-03-09, 21:48
- Location: United Kingdom
Re: What is your favourite C compiler?
Oracle still maintains SunOS/Solaris?? I thought they killed it in like 2015?athenian200 wrote: ↑2026-04-20, 06:25Though I am not as thrilled with the idea of using Clang on Linux or other Unix-like operating systems. For one thing, GCC has much better compatibility with SunOS than Clang does, and also seems to produce better binaries on Linux.
Lead Dactyloidae developer.
Feedback needed! https://forum.palemoon.org/viewtopic.ph ... 30#p272630
Feedback needed! https://forum.palemoon.org/viewtopic.ph ... 30#p272630