public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Unnecessary objects built in 2.6.0-test4?
@ 2003-09-01  6:31 Rob Landley
  2003-09-01 21:04 ` Mike Fedyk
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Landley @ 2003-09-01  6:31 UTC (permalink / raw)
  To: linux-kernel

I'm running 2.6.0-test4 on my laptop, and it's quite nice.  (Haven't beaten 
also into submission yet, and it won't suspend, and kde is dropping some 
events, but everything else is chugging along quite nicely...)

But the kernel is huge, an I'm curious why.  So I did this in the build 
directory:

find . -name "*.o" | xargs ls -l | less

And the results are interesting.

For example: I have a coppermine celeron in this laptop, and I told the build 
that, and I did NOT select generic x86 optimizations, so why did it build 
objects with names like amd, centaur, and cyrix, winchip, k7...?

-rw-r--r--    1 root     root         3348 Sep  1 01:24 
./arch/i386/kernel/cpu/amd.o
-rw-r--r--    1 root     root        55962 Sep  1 01:24 
./arch/i386/kernel/cpu/built-in.o
-rw-r--r--    1 root     root         2572 Sep  1 01:24 
./arch/i386/kernel/cpu/centaur.o
-rw-r--r--    1 root     root         7908 Sep  1 01:24 
./arch/i386/kernel/cpu/common.o
-rw-r--r--    1 root     root         5664 Sep  1 01:24 
./arch/i386/kernel/cpu/cyrix.o
-rw-r--r--    1 root     root         4820 Sep  1 01:24 
./arch/i386/kernel/cpu/intel.o
-rw-r--r--    1 root     root         7957 Sep  1 01:24 
./arch/i386/kernel/cpu/mcheck/built-in.o
-rw-r--r--    1 root     root         2212 Sep  1 01:24 
./arch/i386/kernel/cpu/mcheck/k7.o
-rw-r--r--    1 root     root         2184 Sep  1 01:24 
./arch/i386/kernel/cpu/mcheck/mce.o
-rw-r--r--    1 root     root         2952 Sep  1 01:24 
./arch/i386/kernel/cpu/mcheck/p4.o
-rw-r--r--    1 root     root         1600 Sep  1 01:24 
./arch/i386/kernel/cpu/mcheck/p5.o
-rw-r--r--    1 root     root         2312 Sep  1 01:24 
./arch/i386/kernel/cpu/mcheck/p6.o
-rw-r--r--    1 root     root         1264 Sep  1 01:24 
./arch/i386/kernel/cpu/mcheck/winchip.o
-rw-r--r--    1 root     root         1452 Sep  1 01:24 
./arch/i386/kernel/cpu/mtrr/amd.o
-rw-r--r--    1 root     root        23991 Sep  1 01:24 
./arch/i386/kernel/cpu/mtrr/built-in.o
-rw-r--r--    1 root     root         3084 Sep  1 01:24 
./arch/i386/kernel/cpu/mtrr/centaur.o
-rw-r--r--    1 root     root         3776 Sep  1 01:24 
./arch/i386/kernel/cpu/mtrr/cyrix.o

Rob

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-01 21:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-01  6:31 Unnecessary objects built in 2.6.0-test4? Rob Landley
2003-09-01 21:04 ` Mike Fedyk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox