Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!mips!servitude!rogerk From: rogerk@mips.COM (Roger B.A. Klorese) Newsgroups: comp.sys.mips Subject: Re: R4 server for RS1210 (aka NCD16)? Message-ID: <41849@mips.mips.COM> Date: 2 Oct 90 00:22:36 GMT References: <41836@mips.mips.COM> <3204@uakari.primate.wisc.edu> Sender: news@mips.COM Reply-To: rogerk@mips.COM (Roger B.A. Klorese) Organization: MIPS Computer Systems, Inc. Lines: 40 In article <3204@uakari.primate.wisc.edu> bin@primate.wisc.edu writes: >> #ifdef Mips >> # define MacroIncludeFile "Mips.cf" >> # define MacroFile Mips.cf >> # undef Mips >> # if defined(SYSTYPE_BSD) || defined(BSD) || defined(BSD43) >> # define MipsBsdArchitecture >> # else /* BSD */ >> # define MipsSysvArchitecture >> # endif /* BSD */ >> #endif /* Mips */ > >Thanks. But... >(1) I thought RISCOS was the unique symbol. The block is tested against >the symbol "Mips". ...which is elsewhere defined in the Makefiles. This was a decision made by the graphics SW group; OS uses RISCOS, and I don't think either is likely to change in the near future. *Sigh* >(2) I take it that Mips{Bsd/Sysv}Architecture defines the software platform. >I suggest that the symbol MipsArchitecture also be defined, to indicate the >hardware platform, for usage consistent with other platforms listed in >Imake.tmpl, e.g., RISC Ultrix systems, SGI systems. Noted. >(3) > # if defined(SYSTYPE_BSD) || defined(BSD) || defined(BSD43) >Yow. Why is "#ifdef SYSTYPE_BSD" insufficient? I think the issue is that code which defines BSD or BSD43 should be treated as if it were generated in -systype bsd43. I'm not sure this is a correct assumption, though. Also, it's *wrong*. It should be "#ifdef SYSTYPE_BSD43"... *double-sigh*. -- ROGER B.A. KLORESE MIPS Computer Systems, Inc. MS 6-05 930 DeGuigne Dr. Sunnyvale, CA 94086 +1 408 524-7421 rogerk@mips.COM {ames,decwrl,pyramid}!mips!rogerk "I'm the NLA" "Lead me not into temptation; I can find the way myself." --Rita Mae Brown