Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: What happens when your program crashes?

0 views
Skip to first unread message

santosh

unread,
Mar 21, 2008, 3:59:49 PM3/21/08
to
jacob navia wrote:

> 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?

jacob navia

unread,
Mar 21, 2008, 4:09:23 PM3/21/08
to
santosh wrote:
> Thanks. Your implementation is rather similar to PellesC. Small, C99
> optimistic,

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

0 new messages