From: tdunbar@vtaix.cc.vt.edu (Thomas Dunbar) Subject: size of linux source Date: 29 Apr 1993 20:44:53 GMT
>From: broadley@pitt.edu (Bill Broadley)
> ...I believe linux kernel source is something like 95k lines
> of source and 5k lines of assembly. I would hope that with
> sufficient manuals that most of the changes would be in the 5k
> lines of assembly.
/usr/src/linux > du -b -a >files
/usr/src/linux > fgrep .S files >files.s; fgrep .s files >>files.s
/usr/src/linux > fgrep .c files >files.c; fgrep .h files >files.h
/usr/src/linux > for i in files.?
> do
> awk '{a=a+$1}
> END {print a}' $i
> echo $i
> done
1946760
files.c
387939
files.h
139844
files.s
for what that's worth..i don't think that the amount of code is very
relevant to porting difficulty.