Xref: utzoo comp.sys.mips:360 comp.unix.ultrix:2346 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!bin From: bin@primate.wisc.edu (Brain in Neutral) Newsgroups: comp.sys.mips,comp.unix.ultrix Subject: Distinguishing "true" MIPS box from DECstation at compile time Message-ID: <1300@uakari.primate.wisc.edu> Date: 15 Dec 89 16:49:38 GMT Organization: UW-Madison Primate Center Lines: 19 How does one tell, when compiling a C program, whether the host is a true MIPS machine (e.g., M/120) from a DECstation that's running Ultrix. I think I remember reading an article a while back that complained about "mips" being defined by the preprocessor even on Ultrix machines. Is this true? If so, is the test # if mips # if ultrix DECstation # else true MIPS # endif # endif Is there a nicer way? Yours, Paul DuBois dubois@primate.wisc.edu