source mgt. requirements solicitation
Bruce Stephens
bruce@cenderis.demon.co.uk
Sun Dec 15 18:10:00 GMT 2002
Linus Torvalds <torvalds@transmeta.com> writes:
> On Mon, 16 Dec 2002, Bruce Stephens wrote:
>>
>> The gcc tree I have seems to have 4145483 lines
>
> Hmm, might be my mistake. I only have an old and possibly pared-down tree
> online. However, I also counted lines differently: I only counted *.[chS]
> files, and you may have counted everything (the gcc changelogs and .texi
> files in particular are _huge_ if you have a full complement of them
> there).
The ChangeLog files give a total of 306201 lines. texi files (and
info files) add another 426482. So that's a lot, yes. (In terms of
the size of the project, probably the texi files at least ought to be
counted, just as the stuff in Documentation ought to be counted in
some way for the Linux kernel. But not the generated .info files.)
> What does "find . -name '*.[chS]' | xargs cat | wc" say?
1445809 5700810 43690421
But that doesn't include the ada or java files (or the C++ standard
library). Quite possibly it doesn't include some Objective C runtime
source, too.
> (But you're right - I should _at_least_ count the .md files too, so
> my count was at least as bogus as I suspect yours was)
Sure. It's all pretty meaningless---I think the two projects happen
to be approximately the same size (with the Linux kernel bigger), but
I don't think it's anything other than coincidence. gcc/ada accounts
for about 800K lines, for example, and that's relatively recent, IIRC.
More information about the Gcc
mailing list