Re: Where the code goes?

Horst von Brand (vonbrand@inf.utfsm.cl)
Mon, 20 Sep 1999 11:13:00 -0400


=?ISO-8859-1?Q?=14Tonglu?= yi <ytl@iinchina.net> said:
> I found that the linux kernel source code is about 60MB, but when I
> compiling into into binary, making it into kernel image, the image is
> only about 0.6MB. I don't know how it is so? Does all of the 60MB source
> code become the 0.6 binary code? Why?

Only a small part of the code is compiled for a typical kernel. The
excluded code is for hundreds of drivers for hardware almost nobody has at
the same time (i.e., dozens of different network cards, SCSI cards, ...)
and other architectures.

-- 
Dr. Horst H. von Brand                       mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/