From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 367 invoked by alias); 16 Dec 2002 01:09:26 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 338 invoked from network); 16 Dec 2002 01:09:24 -0000 Received: from unknown (HELO anchor-post-30.mail.demon.net) (194.217.242.88) by sources.redhat.com with SMTP; 16 Dec 2002 01:09:24 -0000 Received: from cenderis.demon.co.uk ([62.49.17.254] helo=localhost) by anchor-post-30.mail.demon.net with esmtp (Exim 3.35 #1) id 18Njl4-000C0t-0U; Mon, 16 Dec 2002 01:09:22 +0000 Received: by localhost (Postfix, from userid 1000) id 67BBD46A22; Mon, 16 Dec 2002 01:09:17 +0000 (GMT) From: Bruce Stephens To: Linus Torvalds Cc: Pop =?iso-8859-1?q?S=E9bastian?= , Momchil Velikov , , Subject: Re: source mgt. requirements solicitation References: Date: Sun, 15 Dec 2002 18:10:00 -0000 In-Reply-To: (Linus Torvalds's message of "Sun, 15 Dec 2002 16:47:52 -0800 (PST)") Message-ID: <87wuma4vnm.fsf@cenderis.demon.co.uk> User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-12/txt/msg00852.txt.bz2 Linus Torvalds 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.