Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: non-native MAKEDEV [was: Re: CVS commit: basesrc]



Simon Burge <simonb%netbsd.org@localhost> writes:

> I used MAKEDEV on Ultrix a few weeks ago to make a NFS client for a
> DECstation 5100.  So, "yes"...

Good enough for me.  :)

> > This is somewhat akin to the "don't use gcc features that will break
> > Ultrix based compiles" but at least has less silliness :)
> 
> Aawwh, what's wrong with Ultrix?  :-)

I don't have a grudge against Ultrix (or users of it :) but I do think
it is silly to keep gcc-isms out of our source tree just because some
other compiler doesn't support it.  A prime example is that the style
guide still requires the old K&R syntax for function declarations, and
we do that disgusting macro to hide function prototypes in our header
files.

IMHO, if you're going to port NetBSD to another CPU type, the first
thing you'd do is want a cross-compiling gcc anyway.

This is a can of worms, btw.  I just like to open it once in a while.
:)

--Michael



Home | Main Index | Thread Index | Old Index