Subject: Re: My first kernel
To: None <port-sparc@NetBSD.ORG>
From: der Mouse <mouse@Collatz.McRCIM.McGill.EDU>
List: port-sparc
Date: 05/24/1996 08:22:46
> Question: Why is there so much clearly pc-specific stuff in the sup
> for ksrc-common? About ISA, and PCI etc... couldn't that be moved to
> their own ksrc? How much of it can I delete?

Because it _ain't_ PC-specific.  It's ISA-bus-specific and
PCI-bus-specific, and at least two ports exist that have ISA and PCI
busses (i386 and alpha).

> The current SUP does not compile out of the box, because make sets
> -Werror for gcc, and [...].  Then there is a last group of warnings,
> that are in printf-statements associated with panic-calls.  What
> happens, is that formatting strings like %b (bitfield?) and %: are
> used, that the compiler doesn't know about.

This sounds as though you didn't update your compiler binaries.  Make
sure the running compiler was built from sources from the same sup as
the kernel source tree you're trying to build.

					der Mouse

			    mouse@collatz.mcrcim.mcgill.edu