> santosh wrote:
>> jacob navia wrote:
>>
>> <snip>
>>
>>> The source distribution of gcc is around 50MB compressed, compared
>>> to lcc-win's 4MB uncompressed.
>>
>> But that doesn't include full source for lcc-win32, unlike gcc. What
>> would be the size of download of the full sources for lcc-win32?
>>
>
> lcc-win source code:
>
> Compiler+Preprocessor+Assembler (lcc.exe):
> 45 558 lines, 1 220 469 bytes
>
> Linker: lcclnk.exe
> 9 902 lines, 282 921 bytes
>
> IDE+Debugger,Project management, software metrics, profiler, etc
> (wedit.exe):
> 79 314 lines, 2 075 178 bytes
>
> C Library:
> 46 476 1 119 047 bytes
>
> Library builder (lcclib.exe)
> 1018 lines, 31 179 bytes
>
>
> ---------------------------------
> 271304 4 728 794
Thanks. Your implementation is rather similar to PellesC. Small, C99
optimistic, and Windows specific. As an aside, do you regret basing
your compiler on top of lcc, as opposed to writing it from scratch?
Well, there are a LOT of C99 that is implemented there. The VLA stuff,
complex numbers, etc etc!
It is quite advanced, even there are a few odd stuff that is missing.
and Windows specific.
I have linux and power pc versions.
> As an aside, do you regret basing
> your compiler on top of lcc, as opposed to writing it from scratch?
>
Of course not. By buying the rights of the lcc source code I
have been able to use a software that is quite well conceived.
--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32