Article View: news.software.nn
Article #4073Re: How do you compile under Solaris 2.1?
From: Richard M. Mathews
Date: Mon, 19 Apr 1993 22:44
Date: Mon, 19 Apr 1993 22:44
38 lines
1951 bytes
1951 bytes
kenw@protocol.com (Ken West) writes:
>Does anybody know the write incantation to get nn to compile
>and run under Solaris 2.1.
Well, first, I don't compile with /usr/ucb/cc (or with any BSD compatibility
stuff). Then I use the attached s-sunos5.h file (hopefully to be included
with patch 19). Finally, on Solaris for x86, I use m-sun386i.h. I find
that to be a better 386 header than m-i80386.h even when not running on
a 386i. For Solaris on Sparc, you would, of course, use m-sparc.h.
Richard M. Mathews D efend
E stonian-Latvian-Lithuanian
Richard.Mathews@West.Sun.COM I ndependence
------------------------s-sunos5.h-----------------------
/*
* For SunOS v5 (which is a component of Solaris v2)
* From: Richard M. Mathews (Richard.Mathews@West.Sun.COM) 1/7/93
* Mike Sullivan (Mike.Sullivan@Eng.Sun.COM)
* Works for both Solaris SPARC and Solaris X86.
*/
/*
* Sys V plus some
*/
#include "s-sys5.h"
#define HAVE_SYSLOG
#define SYSV_RESIZING
#define HAVE_JOBCONTROL
#ifdef NNTP
#include <memory.h>
#define bcopy(s1, s2, n) memcpy(s2, s1, n)
#define bzero(s1, n) memset(s1, 0, n)
#define EXTRA_LIB -lsocket -lnsl
#endif
Technical Details
Message-ID:
<richard.735259488@astro>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!sun-barr!west.West.Sun.COM!abyss.West.Sun.COM!astro!richardReferences:
<1993Apr17.001024.17783@protocol.com>Show Full Headers
Complete Article Headers
Message-ID: <richard.735259488@astro> Subject: Re: How do you compile under Solaris 2.1? Date: Mon, 19 Apr 1993 22:44:48 +0000 From: Richard.Mathews@West.Sun.COM (Richard M. Mathews) References: <1993Apr17.001024.17783@protocol.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.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!cs.utexas.edu!sun-barr!west.West.Sun.COM!abyss.West.Sun.COM!astro!richard Newsgroups: news.software.nn Organization: Sunsoft Inc., Los Angeles, CA. Lines: 38 NNTP-Posting-Host: astro Keywords: nn solaris Originator: richard@astro