[lkml]   [2002]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Moving zlib so that others may use it
In article <>, Corey Minyard  <> wrote:
>Keith Owens wrote:
>>On Wed, 09 Jan 2002 22:23:31 -0600,
>>Corey Minyard <> wrote:
>>>Keith Owens wrote:
>Building zlib as a
>>module guarantees that you cannot use it in a boot loader, forcing you
>>to maintain multiple versions of zlib.c. If you are going to use one
>>version of zlib then you should try to handle bootloaders as well.
>I don't know about the bootloaders. I'm not sure you can make the
>to have them compiled the same as the kernel, since they may have different
>compilation requirements in the boot loader.

Ummm, you can't use an in-kernel anything in a bootloader. How do you
uncompress an in-kernel zlib.o without an out-of-kernel zlib.o lying
around somewhere?

The closest thing to a zlib.o shared between bootloader and kernel would
be to build one zlib.o and then perhaps copy the compiled binary from the
kernel to the bootloader (thus having only one zlib.c but two zlib.o) or
link it from the bootloader to the kernel once the kernel is uncompressed.

Zygo Blaxell (Laptop) <>
GPG = D13D 6651 F446 9787 600B AD1E CCF3 6F93 2823 44AD
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:15    [W:0.142 / U:7.472 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site