Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 10 Jan 2002 04:39:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 10 Jan 2002 04:39:09 -0500 Received: from CPE00E02915899A.cpe.net.cable.rogers.com ([24.112.88.234]:45195 "EHLO mokona.furryterror.org") by vger.kernel.org with ESMTP id ; Thu, 10 Jan 2002 04:38:57 -0500 From: uixjjji1@umail.furryterror.org (Zygo Blaxell) Subject: Re: Moving zlib so that others may use it Date: 10 Jan 2002 04:37:00 -0500 Organization: A poorly-maintained Debian GNU/Linux InterNetNews site Message-ID: In-Reply-To: <24080.1010637887@kao2.melbourne.sgi.com> <3C3D22F8.1080201@acm.org> NNTP-Posting-Host: 10.215.3.77 X-Header-Mangling: Original "From:" was To: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org In article <3C3D22F8.1080201@acm.org>, 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 >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? 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 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/