Thread: Recommended C Compilers for Windows

  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    54

    Recommended C Compilers for Windows

    LCC doesnt handle 8-byte int types very well, and cygwin just gives me a bunch of undefined references when the file is listed explicity in their include libraries. Is this problem unique to me or does cygwin malfunction on windows 2000?
    Any free alternatives would be greatly appreciated.

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Dev-C++ is fairly popular (cygwin not required).

    gg

  3. #3
    Registered User
    Join Date
    Dec 2003
    Posts
    50
    Pelles C
    http://www.smorgasbordet.com/pellesc/

    Pelles C for Windows is a complete development kit for Windows and Pocket PC. It contains among other things an optimizing C compiler, a linker, a resource compiler, a message compiler, a make utility and install builders for both Windows and Pocket PC.

    It also contains an integrated development environment (IDE) with project management, debugger, source code editor and resource editors for dialogs, menus, string tables, accelerator tables, bitmaps, icons, cursors, animated cursors, animation videos (AVI's without sound), versions and XP manifests.

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    I think you need to slow down and think about what you're doing, rather than going on a search for a new compiler every time you come across some small difficulty.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User
    Join Date
    Mar 2005
    Posts
    76
    Pellec c is based on lcc, and lcc had also serious performance problems. Dont know how this is with pellesc since pelle did some tweaking of the compiler. The problem with devcpp is that its buggy. And its debugger is very very buggy. But from all free ones i prever to use devcpp.

  6. #6
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,981
    Don't confuse the IDE with the tools it uses - that is, GNU's gcc, g++, gdb, ect....

    gcc/g++ is the best, free compiler in my opinion.

    gg

  7. #7
    Registered User
    Join Date
    Jun 2005
    Posts
    3
    Gcc is great since it supports so many languages which all work well together.
    The only tradeoff is that gcc does not generate always very efficient code and lages behind ICC about ~10% in generat execution speed...

    However, by far the best free one!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Builder Comparison
    By ryanlcs in forum Tech Board
    Replies: 14
    Last Post: 08-20-2006, 09:56 AM
  2. Is It Possible To Install Multiple Compilers?
    By mishna_toreh in forum C Programming
    Replies: 3
    Last Post: 05-13-2005, 07:32 AM
  3. Compilers for Windows
    By LegendsEnd in forum Windows Programming
    Replies: 2
    Last Post: 03-26-2004, 08:03 AM
  4. any C Compilers recommended ??
    By imbecile in C in forum C Programming
    Replies: 10
    Last Post: 06-25-2003, 02:16 PM
  5. Compilers, Compilers, Compilers
    By Stan100 in forum C++ Programming
    Replies: 11
    Last Post: 11-08-2002, 04:21 PM