Subject: Re: GENERIC compilation question
To: None <netbsd-help@netbsd.org>
From: Georges Heinesch <geohei-ml@geohei.lu>
List: netbsd-help
Date: 06/10/2001 17:39:54
Quoting Jeremy C. Reed (09-Jun-01 22:41:27):

> On 9 Jun 2001, Georges Heinesch wrote:

>> When compiling GENERIC kernel 1.5, the result is 4.745.013 Bytes
>> long.
>> /netbsd (from the original distribution) has 4.949.749 Bytes.
                                                ^^^^^^^^^
                                                4.749.749
                                                (typo - sorry)

>> No big difference, but it's a difference.
>> 
>> Why is that?

> The "original distribution" uses the INSTALL kernel.

dmesg however syas it's a GENERIC kernel.

    ----- cut here -----
    NetBSD 1.5 (GENERIC) #1: Sun Nov 19 21:42:11 MET 2000
        fvdl@sushi:/work/trees/netbsd-1-5/sys/arch/i386/compile/GENERIC
    cpu0: Intel Pentium III (686-class)
    total memory = 255 MB
    avail memory = 231 MB
    [...]
    ----- cut here -----

When I compile that one (INSTALL), it has 4.965.017 Bytes, still not
the original 4.749.749 Bytes.

Summary:

    distributed /netbsd     4.749.749 Bytes
    my compiled GENERIC     4.745.013 Bytes
    my compiled INSTALL     4.965.017 Bytes

> The differences depend on what architecture and what is considered
> needed to make installations easy.

> GENERIC contains "everything that's currently supported". An INSTALL
> configuration says "This kernel should be derived from GENERIC with
> some features commented out. ... This kernel does NOT support X,
> mice, audio devices, non-NetBSD emulation."

GENERIC kernel should then be bigger as INSTALL. However, it;s the
opposite (see above).

BTW, all of a sudden, I saw a /onetbsd kernel. What's that one?

TIA

-- 
Cu  Georges Heinesch, Luxembourg
    geohei@geohei.lu
    http://www.geohei.lu
    PGP RSA & DH/DSS public key on request and on public servers

... because water just isn't wet enough !