Article View: news.software.readers
Article #2002Re: TIN v1.1 PL5 & HPUX
From: LaMont Jones
Date: Thu, 13 Aug 1992 17:30
Date: Thu, 13 Aug 1992 17:30
26 lines
1732 bytes
1732 bytes
Iain Lea (lea%anl433.uucp@Germany.EU.net) wrote: : I am trying to find the best standard compiler define for HPUX. : : I have been sent conflicting info. concerning which define is the : most portable across the different versions of HPUX. The following : list of defines have been sent to me: : : HPUX (currently used in tin v1.1 PL5) : hpux : __hpux : : I don't have a HP machine to test tin on as it is being developed : so I need your input as to which define is the best one to use? /lib/cpp on hp-ux machines defines __hpux and hpux and _HPUX_SOURCE. For ANSI C, hpux and _HPUX_SOURCE will be deleted. In other words, if you ever intend to use ANSI C, you should use __hpux. If you are only going to use K&R, either __hpux or hpux will work. _HPUX_SOURCE is a switch for header files. Based on the above, if I were you, I'd ignore my previous recommendation, and use __hpux, like the informed people told you in the first place. Sorry for the confusion. LaMont "I just use the compiler" Jones
Technical Details
Message-ID:
<BsxnBK.Fon@cup.hp.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!gossip.pyramid.com!olivea!sun-barr!ames!elroy.jpl.nasa.gov!sdd.hp.com!hpscdc!cupnews0.cup.hp.com!lamontReferences:
<1992Aug13.143501.2093@anl433.uucp>Show Full Headers
Complete Article Headers
Message-ID: <BsxnBK.Fon@cup.hp.com> Subject: Re: TIN v1.1 PL5 & HPUX Date: Thu, 13 Aug 1992 17:30:56 +0000 From: lamont@cup.hp.com (LaMont Jones) References: <1992Aug13.143501.2093@anl433.uucp> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!sparky!uunet!gossip.pyramid.com!olivea!sun-barr!ames!elroy.jpl.nasa.gov!sdd.hp.com!hpscdc!cupnews0.cup.hp.com!lamont Newsgroups: news.software.readers Sender: news@cupnews0.cup.hp.com Organization: Hewlett-Packard Lines: 26 X-Newsreader: Tin 1.1lj PL5