Re: Moving zlib so that others may use it

Tom Rini (trini@kernel.crashing.org)
Thu, 10 Jan 2002 08:30:59 -0700


On Thu, Jan 10, 2002 at 04:37:00AM -0500, Zygo Blaxell wrote:
> In article <3C3D22F8.1080201@acm.org>, Corey Minyard <minyard@acm.org> wrote:
> >Keith Owens wrote:
> >
> >>On Wed, 09 Jan 2002 22:23:31 -0600,
> >>Corey Minyard <minyard@acm.org> 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
> >requirement
> >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?

Well, when your 'bootloader' is in arch/$(ARCH)/boot, you can rather
easily. I think there's a few archs which grab lib/lib.a right now.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/