Path: csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: alexfrunews@gmail.com Newsgroups: comp.compilers Subject: Re: Alternative C compilers on x86_64 Linux? Date: Mon, 5 Sep 2016 17:22:58 -0700 (PDT) Organization: Compilers Central Lines: 32 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <16-09-007@comp.compilers> References: <16-09-001@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Injection-Info: miucha.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="40818"; mail-complaints-to="abuse@iecc.com" Keywords: C Posted-Date: 05 Sep 2016 21:13:31 EDT X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com Xref: csiph.com comp.compilers:1746 On Sunday, September 4, 2016 at 12:02:33 PM UTC-7, Aharon Robbins wrote: > Can I get recommendations for other (free) C compilers besides GCC and CLANG? > I've been using the revived PCC for gawk development since it's faster > than GCC, but recently it's developed a bug where it won't compile the > current (valid) code. > > LCC seems to be 32 bit only and requires very manual configuration. > > TinyCC is blindingly fast, and can compile gawk, but is broken in that > it won't diagnose duplicate case statements inside switch. The developers > don't consider this a problem. So I refuse to use it. > > In short, I'm looking for a faster compiler that actually works. What is preventing you from doing most of development using, say, that same TinyCC and then, when you think you're done with the round of changes (bugfixes, improvements, new features) recompiling the coded with gcc or clang and rerunning the tests to make sure there are no issues (warnings, real bugs) missed because of the limitations of the fast compiler? Given the nature of C, I think, it's always beneficial to try your code with different compilers (and on different platforms) to uncover portability and other problems. I'm not recommending my Smaller C compiler because it's more limited than TinyCC, although it does check for duplicate cases, but there are a few others you might want to try out (all Windows only, AFAIK): Pelles C Digital Mars Visual C++ Express Alex