Article View: news.software.nn
Article #3634Re: Porting nn to HP 9000/HP-UX 8.0
From: Scott Stevens
Date: Thu, 21 Jan 1993 02:41
Date: Thu, 21 Jan 1993 02:41
28 lines
2079 bytes
2079 bytes
In <1jkdu3INNhso@symbi1.symbiosis.ahp.com> aem@symbiosis.ahp.com (a.e.mossberg) writes: >scott@truevision.com (Scott Stevens) writes: >>As I stated in my post, I don't have the "ANSI C" compiler (yet--it's >>backordered), just the C compiler that ships with the system, so that >>may have something to do with the problems I encountered. > >We don't either, it compilied for me. > >Here's our config.h file (stripped of comments to save bandwidth): >... >#include "s-hpux7-0.h" [sigh] When I created conf/s-hpux8-0.h (because I wanted to enable a couple of things not supported by conf/s-hpux7-0.h), I #include'd <unistd.h>. That causes a lot of clashes with declarations in the nn source; if you leave out <unistd.h> then nn almost compiles "out of the box". I say "almost" because I still have to mung term.c to include <termio.h>; nn expects <curses.h> to #include <termio.h> and on our system it doesn't (causing cc to barf all over term.c). Oh well... At least the changes I posted can be used to make the nn sources a bit more portable... -- Scott Stevens (scott@truevision.com) | Any views expressed are my own, Truevision Inc., Indianapolis, IN | not Truevision's. ------------------------------------------------------------------------------
Technical Details
Message-ID:
<1jl2hgINN8f4@epic.truevision.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.mbox.zip!sparky!uunet!epicb!usenetReferences:
<1jcv1bINNefs@epic.truevision.com> <1jepe7INNsmh@ope001.iao.ford.com> <1jhgb3INNlr7@symbi1.symbiosis.ahp.com> <1jiku6INN9qk@epic.truevision.com> <1jkdu3INNhso@symbi1.symbiosis.ahp.com>Show Full Headers
Complete Article Headers
Message-ID: <1jl2hgINN8f4@epic.truevision.com> Subject: Re: Porting nn to HP 9000/HP-UX 8.0 Date: Thu, 21 Jan 1993 02:41:52 +0000 From: scott@truevision.com (Scott Stevens) References: <1jcv1bINNefs@epic.truevision.com> <1jepe7INNsmh@ope001.iao.ford.com> <1jhgb3INNlr7@symbi1.symbiosis.ahp.com> <1jiku6INN9qk@epic.truevision.com> <1jkdu3INNhso@symbi1.symbiosis.ahp.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.hp.mbox.zip!sparky!uunet!epicb!usenet Newsgroups: news.software.nn,comp.sys.hp Organization: Truevision Inc., Indianapolis, IN Lines: 27 Distribution: na NNTP-Posting-Host: epic.truevision.com