Thread: Preferred Open Source Compiler?

  1. #1
    Registered User
    Join Date
    Nov 2015
    Posts
    21

    Preferred Open Source Compiler?

    What open source compilers do you recommend for C? I know GCC is the "standard", but clang is one I've heard of. Are there others? Is there a reason to use one or the other?

    My goal is to get back into C, and try to remember what I did in class 20+ years ago. I do Ruby for fun, and being able to drop into C from Ruby would be nice.

    Are there other good tools to learn? Stuff like splint, or ??? How does Test Driven Development go with C?

    Thanks!

  2. #2
    null pointer Structure's Avatar
    Join Date
    May 2019
    Posts
    338
    Are there others?

    List of compilers - Wikipedia
    Last edited by Structure; 06-30-2020 at 11:01 AM.
    "without goto we would be wtf'd"

  3. #3
    Registered User
    Join Date
    Nov 2015
    Posts
    21
    Quote Originally Posted by Structure View Post
    Which ones are recommended?

  4. #4
    Registered User
    Join Date
    May 2010
    Posts
    4,633
    Which ones are recommended?
    If you're using full blown Linux then clang or gcc seem to fit.

  5. #5
    Registered User
    Join Date
    Nov 2015
    Posts
    21
    Quote Originally Posted by jimblumberg View Post
    If you're using full blown Linux then clang or gcc seem to fit.
    Thanks! I wasn't sure if there was something else to look at.

  6. #6
    Registered User
    Join Date
    May 2010
    Posts
    4,633
    You said you wanted open source on Linux, the two biggest players that meet that criteria are clang and gcc. There are probably others, some even listed in the link above that you can download and try them out to see if they meet your requirements, but that's up to you.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C# open source
    By herWter in forum C# Programming
    Replies: 3
    Last Post: 09-15-2008, 04:07 PM
  2. Open source, easy-to-use XMPP messenger: Open-IM
    By mkruk in forum Projects and Job Recruitment
    Replies: 1
    Last Post: 06-22-2008, 04:10 PM
  3. Open Source / Semi Open source game idea. Help needed
    By CaptainPatent in forum Projects and Job Recruitment
    Replies: 10
    Last Post: 05-16-2007, 10:44 AM
  4. open source
    By pktcperlc++java in forum Tech Board
    Replies: 3
    Last Post: 01-22-2005, 08:15 PM
  5. open source
    By north pointer in forum Linux Programming
    Replies: 10
    Last Post: 08-01-2002, 06:35 AM

Tags for this Thread