Re: lcc and c99 conformance



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

.



Relevant Pages

  • Re: lcc and c99 conformance
    ... jacob navia writes: ... It was where I found headers for C99 needs. ... How far has lcc come with C99? ... long is considered compatible with int, that is quite a list problem ...
    (comp.compilers.lcc)
  • Re: lcc and c99 conformance
    ... It was where I found headers for C99 needs. ... How far has lcc come with C99? ... writing compilers, lcc is probably NOT "good enough" for you. ...
    (comp.compilers.lcc)
  • Re: lcc and c99 conformance
    ... How far has lcc come with C99? ... lcc-win32 has achieved 95% C99 conformance. ... like named structure initialization, ...
    (comp.compilers.lcc)
  • Re: lcc and c99 conformance
    ... It was where I found headers for C99 needs. ... How far has lcc come with C99? ... like named structure initialization, ...
    (comp.compilers.lcc)
  • switching mex compiler from lcc to MSVC - need a couple of tips!
    ... For compiling mex files, I want to switch from LCC to MSVC, because I want to ... I don't have MSVC++ 2005 v8 Pro package, but my needs are very simple and I ... I don't know about anything about resource compilers and manifest tools. ...
    (comp.soft-sys.matlab)