home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi.misc
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!sgiblab!sgigate!sgi!quasar.mti.sgi.com!davea
- From: davea@quasar.mti.sgi.com (David B.Anderson)
- Subject: Re: nlist and pre/post IRIX 4.0.5
- Message-ID: <tvolh50@sgi.sgi.com>
- Sender: davea@quasar.mti.sgi.com
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Date: Thu, 24 Dec 1992 00:05:54 GMT
- Lines: 26
-
- In article <1992Dec23.203244.4762@sifon.cc.mcgill.ca> isaac@physics.mcgill.ca writes:
- >
- > It looks like IRIX 4.0.5 nlist() now returns n_type if found and
- > 0 if not instead of the pre-4.0.5 IRIX versions which were
- > returning n_type + 1 if found and n_type otherwise.
- >
- > If this is the case, how can I tell the pre-compiler to
- > make the distinction?
-
- Arrgghh.. This is a botch. Another botch is that 4.0.5 nlist will not
- find static symbols.
-
- This has been fixed for the next major release, but that does not help
- you. (Bringing nlist back to 4.0.1,2,3,4 behavior with a twist to get
- SVR4 behavior.)
-
- I don't see any way for you to tell which nlist is which other than
- running nlist on a known a.out and checking n_type on something whose
- type you know. Maybe someone else can think of a practical way to
- tell.
-
- Sorry.
- [ David B. Anderson (415)390-4263 davea@sgi.com ]
-
-
-
-