Article View: comp.sys.sgi.bugs
Article #78bug in syms.h (building SPIM)?
From: Philip Machanick
Date: Tue, 12 Jan 1993 13:19
Date: Tue, 12 Jan 1993 13:19
33 lines
1664 bytes
1664 bytes
I tried compiling a public domain MIPS architecture (SPIM), and ran into several problems. Here is one that appears to be a bug in an SGI header file, syms.h (4.0.5F; in 4.0.1, the "__mips" is replaced by "mips"): There is a line #if __mips followed a few lines down by #else /* !defined(__mips) */ Surely "#if X" is not the same as "#if defined(X)" - so either the "#if" or the comment is wrong. More important - between the "#if" and the "#else" is #include "cmplrs/stsupport.h" which header file doesn't exist (nor does the directory cmplrs). Any hints on how to work around this would be welcome. I would rather not patch the header file unless reassured that this won't break anything else. For that matter if anyone has built SPIM or any other architecture simulator it would be useful for a course I am giving soon. -- Philip Machanick philip@concave.cs.wits.ac.za Department of Computer Science, University of the Witwatersrand 2050 Wits, South Africa phone 27(11)716-3309***<-NEW PHONE NUMBER***fax 27(11)339-7965
Technical Details
Message-ID:
<1993Jan12.131934.20309@shannon.ee.wits.ac.za>Path:
arc1-ca.pugleaf.net!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!newsShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.sgi.bugs Path: arc1-ca.pugleaf.net!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 From: Philip Machanick <philip@concave.cs.wits.ac.za> Subject: bug in syms.h (building SPIM)? Message-ID: <1993Jan12.131934.20309@shannon.ee.wits.ac.za> X-Xxdate: Tue, 12 Jan 93 15:05:54 GMT Sender: news@shannon.ee.wits.ac.za Organization: Computer Science Dept, Wits University X-Useragent: Nuntius v1.1.1d16 Date: Tue, 12 Jan 1993 13:19:34 GMT Lines: 33