How to understand gcc source code?

Basile STARYNKEVITCH basile@starynkevitch.net
Sat Mar 22 20:06:00 GMT 2008


Andrew Pinski wrote:
> Here are some answers from a PS3 prosective.
> 
> 
> The mean code size is around 200 million lines or so.  The final
> binary results anywhere between 20 Megs to 40 Megs.

Are you sure of that figure? 200MLOC for a single program? That is huge! 
  Even for all the software installed on a PS3 it might be a lot (I read 
that an entire Debian distribution was less than a 1000GLOC at least a 
few years ago, and I would suppose that the PS3 has much less).
http://www.dwheeler.com/sloc/ says that Debian3.1 was 230MLOC!

And I have the naive feeling that on game machines, the non-code data 
(in particular images, movies, videos, sounds) was bigger than the code 
(executable instructions).

-- 
Basile STARYNKEVITCH         http://starynkevitch.net/Basile/
email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359
8, rue de la Faiencerie, 92340 Bourg La Reine, France
*** opinions {are only mines, sont seulement les miennes} ***



More information about the Gcc mailing list