🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.alt.comm.mgetty
Article #10

Re: distinguish solaris 1 (SunOS 4) from solaris 2.x?

#10
From: Larry W. Virden
Date: Tue, 07 Jun 1994 19:22
20 lines
2317 bytes
Frankly, this is something that about software for some time that
seems fixable.  Sun has been pushing the use of the System V
libraries via /usr/5bin:/bin for quite some time.  And I have dutifully
been doing that.  And numerous packages who depended solely on
ifdef sun's typically broken, since they were expecting to be compiled
in BSD mode rather than System V mode.

To me, it seems obvious that rather than depend on an ifdef sun - which
could be a sparc, sun 3 , sun 386 or now solaris on an 386, one should
have a configuration testing program to test for specific features.
Of course, for folk who want to set up some make rules for sun, sgi,
ultrix, etc. to set some defaults, that is fine - just put the
appropriate sets of -D flags into CFLAGS for each rule and then the
next variety of os that comes along can more easily configure the
package.
-- 
:s Great net resources sought...
:s Larry W. Virden                 INET: lvirden@cas.org
:s Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
The task of an educator should be to irrigate the desert not clear the forest.
Technical Details
Message-ID: <1994Jun7.192234.11742@chemabs.uucp>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!gatech!purdue!lerc.nasa.gov!kira.cc.uakron.edu!malgudi.oar.net!chemabs!lwv26
References: <m0q9bZM-0002NPC@greenie.muc.de> <FDC.94Jun4112458@cliwe.uucp>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6653,c90ac97a442d5221
X-Google-Attributes: gidf6653,public
X-Google-Thread: f52a0,c90ac97a442d5221
X-Google-Attributes: gidf52a0,public
X-Google-Thread: 11035d,c90ac97a442d5221
X-Google-Attributes: gid11035d,public
X-Google-Thread: 1025b4,c90ac97a442d5221
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1994-06-07 12:37:14 PST
Newsgroups: de.alt.comm.mgetty,comp.unix.solaris,comp.sys.sun.misc,gnu.misc.discuss
Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!gatech!purdue!lerc.nasa.gov!kira.cc.uakron.edu!malgudi.oar.net!chemabs!lwv26
From: lwv26@cas.org (Larry W. Virden)
Subject: Re: distinguish solaris 1 (SunOS 4) from solaris 2.x?
Content-Type: text/plain; charset=US-ASCII
Message-ID: <1994Jun7.192234.11742@chemabs.uucp>
Followup-To: de.alt.comm.mgetty,comp.unix.solaris,comp.sys.sun.misc,gnu.misc.discuss
Sender: usenet@chemabs.uucp
Reply-To: lvirden@cas.org
Content-Transfer-Encoding: 7BIT
Organization: Nedriv Software and Shoe Shiners, Uninc.
References: <m0q9bZM-0002NPC@greenie.muc.de> <FDC.94Jun4112458@cliwe.uucp>
Mime-Version: 1.0
Date: Tue, 7 Jun 1994 19:22:34 GMT
Lines: 20