Thread View: news.software.readers
2 messages
2 total messages
Started by Iain Lea
Thu, 13 Aug 1992 14:35
TIN v1.1 PL5 & HPUX
Author: Iain Lea
Date: Thu, 13 Aug 1992 14:35
Date: Thu, 13 Aug 1992 14:35
22 lines
1310 bytes
1310 bytes
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? Thanx Iain -- NAME Iain Lea EMAIL iain%anl433.uucp@Germany.EU.net SNAIL Siemens AG, ANL A433SZ, Gruendlacher Str. 248, 8510 Fuerth, Germany. PHONE +49-911-3089-407 (work) +49-911-331963 (home) +49-911-3089-290 (FAX)
Re: TIN v1.1 PL5 & HPUX
Author: 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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads