how to "categorize" c compilers?

This is a discussion on how to "categorize" c compilers? within the C Programming forums, part of the General Programming Boards category; you "categorize" them to a device (machine) or processor? and what do/did you use personally to program in c?...

  1. #1
    Registered User
    Join Date
    Mar 2010
    Posts
    11

    how to "categorize" c compilers?

    you "categorize" them to a device (machine) or processor?
    and what do/did you use personally to program in c?

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    I'm not 100% sure I understand your question.

    A C compiler will compile the code you write to machine language. This machine language is dependent on the CPU architecture of the target machine. In addition, the linker (which is usually bundled with your compiler) will need to link your application against a runtime library, and possible other libraries as well. These libraries are OS dependent. Based on this, we can conclude that the application that your compiler generates is specific to a CPU architecture and an operating system.

    I hope that answers your question.
    bit∙hub [bit-huhb] n. A source and destination for information.

  3. #3
    Registered User
    Join Date
    Aug 2010
    Location
    Rochester, NY
    Posts
    196
    I use GCC, probably always will.

    I've seen it used in very large, fortune 500 corporate environments, too.

    That being said, write now my latest project is in QT, so I'm using QTCreator, so I'm using whatever built-in compiler they have, I believe it's MingW - Otherwise I wouldn't use it.

    My school tries to force you into using CC (The Solaris C compiler), I just make sure it's 100% on GCC then test it on CC, as you need to throw some flags into CC IIRC to get it to use the C99 spec.

    As for the first part of your question, bithub explained it pretty well and to the point.

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,717
    Quote Originally Posted by Syndacate
    I'm using whatever built-in compiler they have, I believe it's MingW - Otherwise I wouldn't use it.
    The compiler toolchain provided by MinGW is a port of GCC.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    Registered User
    Join Date
    May 2009
    Posts
    2,572
    Quote Originally Posted by laserlight View Post
    The compiler toolchain provided by MinGW is a port of GCC.
    The new MinGW GCC 4.5 series is trying to not have to patch the GCC files as they needed to do in past releases. I hope the end up with a usable result that requires only minor code changes (Not counting the changes needed for standard C99). Major change is using Dwarf2 instead of SJLJ for exceptions as was done in 3.4 series MinGW GCC.

    Link to an unofficial patched MinGW GCC site 4.x series
    TDM's GCC/MinGW32 Builds | Download TDM's GCC/MinGW32 Builds software for free at SourceForge.net

    Tim S.
    Last edited by stahta01; 09-08-2010 at 11:17 AM. Reason: Add link

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need ur assistance badly plz related to c compilers
    By myselfcapricorn in forum C Programming
    Replies: 3
    Last Post: 12-28-2009, 07:03 PM
  2. C++ Builder Comparison
    By ryanlcs in forum Tech Board
    Replies: 14
    Last Post: 08-20-2006, 09:56 AM
  3. Is It Possible To Install Multiple Compilers?
    By mishna_toreh in forum C Programming
    Replies: 3
    Last Post: 05-13-2005, 07:32 AM
  4. Compilers for Windows
    By LegendsEnd in forum Windows Programming
    Replies: 2
    Last Post: 03-26-2004, 07:03 AM
  5. Compilers, Compilers, Compilers
    By Stan100 in forum C++ Programming
    Replies: 11
    Last Post: 11-08-2002, 03:21 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21