Re: lcc and c99 conformance
- From: "Antoine Leca" <root@xxxxxxxxxxxxxxxxx>
- Date: Wed, 12 Sep 2007 14:43:51 +0200
En news:KKedndzrGaHRYnnbnZ2dnUVZ_gCdnZ2d@xxxxxxxxxxx, Wade Ward va escriure:
I have had lcc on previous windows installations and found it useful,
despite claims to the contrary from True Believers in comp.lang.c.
It was where I found headers for C99 needs.
How far has lcc come with C99?
Nowhere, as far as I know. Pr. Fraser and Pr. Hanson slowed down the work on
lcc around 1996 (see the dates of the papers). In this timeframe, there were
no C99 standard available.
Some provisions for some features of C99 are available within the 4.2
(latest) version. However, they might give you false hope: for example, a
long long type is forecasted, but it is made equivalent to the long type...
Besides 64-bit arithmetic, other areas needing work are VLA, complexes,
compounds literals and out-of-order initialisations, mixing declarations and
statements, the enhanced for, and small thingies like __func__ or
hexadecimal floats.
lcc-win32, the project of Jacob Navia, which is originally based on lcc but
includes a LOT of additional stuff, is more aimed at C99 compliance. And it
is still developped.
If I wanted full compliance, I could lay out money for dinkumware
As far as I know, Dinkumware makes libraries, and lcc is a (freestanding)
compiler. They are different animals. In fact, you need both in order to
actually produce programs (and a preprocessor, and an assembler, and a
linker, too.)
Will lcc likely be good enough in this respect for guys like me,
a cowboy on a keyboard?
Sorry, I cannot make sense from your sentence.
lcc is a tool to learn how to write compilers. If you are not in the job of
writing compilers, lcc is probably NOT "good enough" for you.
And as I wrote, lcc's development sort-of stopped some years ago, so if you
are seeking bleeding-edge, this is probably not the good choice either.
Antoine
.
- Follow-Ups:
- Re: lcc and c99 conformance
- From: jacob navia
- Re: lcc and c99 conformance
- References:
- lcc and c99 conformance
- From: Wade Ward
- lcc and c99 conformance
- Prev by Date: lcc and c99 conformance
- Next by Date: Re: lcc and c99 conformance
- Previous by thread: lcc and c99 conformance
- Next by thread: Re: lcc and c99 conformance
- Index(es):
Relevant Pages
|
|