List,

I have tested building Bering kernel from scratch, with the addition of
ip_vs patch. During the process, I have noticed an interesting fact.

When compiling on Mandrake Linux 8.2, the result of the kernel
(bzImage) is slightly bigger than compiling on Debian 3.0.

Mandrake Linux 8.2
------------------
$ gcc --version
2.96

$ cd /usr/src/linux/arch/i386/boot; ls bzImage
-rw-r--r--    1 root     root       598779 Sep 18 09:53 bzImage

Compressed using UPX 1.11, the result is:
$ cd /usr/src/linux/arch/i386/boot; ls -l bering-ipvs.upx
-rw-r--r--    1 root     root       521063 Sep 18 09:53 bering-ipvs.upx

Debian 3.0
----------
$ gcc --version
2.95.4

$ ls -l /usr/src/linux/arch/i386/boot/bzImage
-rw-r--r--    1 root     root       571744 Sep 21 17:10 bzImage

And the result compressed with UPX 1.11:
$ cd /usr/src/linux/arch/i386/boot; ls -l bering-ipvs.upx
-rw-r--r--    1 root     root       495547 Sep 21 17:10 bering.upx

It is clear that one of the reason the size differs is the gcc version.
The question is: what version of gcc that will compile the smallest
bzImage? Under what distro?

-- 
H. D. Lee


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

_______________________________________________
leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to