473,326 Members | 2,023 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

C compiler variants

I am a newbie in C programming and I have already heard lot of C
compiler variants including ANSI, C9X, Borland etc. Could somebody
complete the list.

Which compiler is the most versatile and largely used ? I am using gcc
on Ubuntu as I don't have access to any other ones.

Can sombody throw light on how the journey of C has changed from K&R
times to now.

Thanks

Feb 20 '07 #1
1 1285
DanielJohnson said:
I am a newbie in C programming and I have already heard lot of C
compiler variants including ANSI, C9X, Borland etc. Could somebody
complete the list.
ANSI and C9X aren't compilers, for a start.

ANSI is the American National Standards Institute, which standardised C
in 1989. For short, we call that C Standard "C89", but it's a standard,
not a compiler. ISO (the International Standards Organisation) adopted
that standard the following year, which is why we also refer to "C90".
"C9X" was the great upgrade-to-C project which finally resulted in a
modification to the Standard (the X was used because they didn't know
when they'd finish). This has become known as C99, since it was
eventually released in 1999. (There was a minor update in 1995 too,
which some people ignore and others know as C95.)

To list all the C compilers is a task beyond my ability to answer, but
the principal serious contenders are gcc in its many flavours,
Microsoft C, and Borland C. C/370 and perhaps LE370 for the mainframe
market, Norcroft for embedded systems. Dozens more, though.

All these compilers (as far as I know, anyway) conform to the ANSI C
Standard of 1989 - and *therefore* the ISO C Standard of 1990 (since
it's the same document, just with different section numbering because
ISO added a few lumps of boilerplate to the beginning).

None of them, as far as I know, conform to C99. There are one or two
conforming C99 compilers out there, but nobody I know actually uses
one. C99 conformance is not high on the implementation agenda, and is
unlikely to become so.

Which compiler is the most versatile and largely used ? I am using gcc
on Ubuntu as I don't have access to any other ones.
gcc is fine.
Can sombody throw light on how the journey of C has changed from K&R
times to now.
See above for a quick precis, or take a peek at
http://www.cs.bell-labs.com/who/dmr/ for some background on C.

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at the above domain, - www.
Feb 20 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: arno | last post by:
Hi all, if I compile the small example below without defining "VC6_STUPID_BEHAVIOUR" I get the following compiler error: error C2614: 'MyCString' : illegal member initialization: 'string' is not...
16
by: Grumble | last post by:
Hello, I recently came across code that defined a peculiar macro: #define local static gcc had no problem with it, but another (experimental) compiler I am evaluating output a lengthy list...
1
by: Peter Bromley | last post by:
Hi, I have a managed __value type which I am attempting to create and use but there are a number of problems - seemingly in the C++ compiler. From MSDN: operator ~() should be equivalent to...
2
by: bearophileHUGS | last post by:
Notes: - This email is about Mark Dufour's Shed Skin (SS) (http://shed-skin.blogspot.com), but the errors/ingenuousness it contains are mine. My experience with C++ is limited still. - The...
44
by: Don Kim | last post by:
Ok, so I posted a rant earlier about the lack of marketing for C++/CLI, and it forked over into another rant about which was the faster compiler. Some said C# was just as fast as C++/CLI, whereas...
31
by: Mark Dufour | last post by:
Hi all, I have recently released version 0.0.20 and 0.0.21 of Shed Skin, an optimizing Python-to-C++ compiler. Shed Skin allows for translation of pure (unmodified), implicitly statically typed...
244
by: Ajinkya | last post by:
Can anyone suggest me a good compiler for(c/cpp) for windows? I tried dev cpp but its debugging facility is very poor.
159
by: bernard | last post by:
howdy! please recommend a good c compiler. - should be small - should be fast - should come with a good ide - should be inexpensive i am using windows os.
0
by: Alexander Morou | last post by:
Greetings, I've been writing a framework for the Common Language Infrastructure (aka .NET) for about six to eight months. Its end goal is to greatly reduce the amount of work necessary to write a...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.