home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / sgi / bugs / 104 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.6 KB  |  46 lines

  1. Newsgroups: comp.sys.sgi.bugs
  2. Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!uw-beaver!news.tek.com!psgrain!hippo!shannon!news
  3. From: Philip Machanick <philip@concave.cs.wits.ac.za>
  4. Subject: bug in syms.h (building SPIM)?
  5. Message-ID: <1993Jan12.131934.20309@shannon.ee.wits.ac.za>
  6. X-Xxdate: Tue, 12 Jan 93 15:05:54 GMT
  7. Sender: news@shannon.ee.wits.ac.za
  8. Organization: Computer Science Dept, Wits University
  9. X-Useragent: Nuntius v1.1.1d16
  10. Date: Tue, 12 Jan 1993 13:19:34 GMT
  11. Lines: 33
  12.  
  13. I tried compiling a public domain MIPS architecture (SPIM), and ran
  14. into several problems. Here is one that appears to be a bug in an
  15. SGI header file, syms.h (4.0.5F; in 4.0.1, the "__mips" is replaced by
  16. "mips"):
  17.  
  18. There is a line
  19.  
  20. #if __mips
  21.  
  22. followed a few lines down by
  23.  
  24. #else  /* !defined(__mips) */
  25.  
  26. Surely "#if X" is not the same as "#if defined(X)" - so either the
  27. "#if" or the comment is wrong.
  28.  
  29. More important - between the "#if" and the "#else" is
  30.  
  31. #include "cmplrs/stsupport.h"
  32.  
  33. which header file doesn't exist (nor does the directory cmplrs).
  34.  
  35. Any hints on how to work around this would be welcome. I would rather
  36. not patch the header file unless reassured that this won't break
  37. anything else.
  38.  
  39. For that matter if anyone has built SPIM or any other architecture
  40. simulator it would be useful for a course I am giving soon.
  41. --
  42. Philip Machanick                   philip@concave.cs.wits.ac.za
  43. Department of Computer Science, University of the Witwatersrand
  44. 2050 Wits, South Africa
  45. phone 27(11)716-3309***<-NEW PHONE NUMBER***fax 27(11)339-7965
  46.