🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#14
From: Gert Doering
Date: Thu, 09 Jun 1994 08:14
25 lines
2098 bytes
lwv26@cas.org (Larry W. Virden) writes:

>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.

Well, that's not always true - for example, there are such heavy bugs in
the sun tty driver that you *have* to workaround them by #ifdef sun...
(fixed by the jumbo tty patch, but one cannot rely on it being
installed).

>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

I think that's a major design error from sun - no way to determine the
exact type of machine by C preprocessor statements.

gert
-- 
Wege entstehen, wenn wir sie gehen.                     | gert doering
Vielleicht sollte ich meinen Beobachterposten           | gert@greenie.muc.de
an der Strassenkreuzung aufgeben.                       | 246/55.4
Technical Details
Message-ID: <Cr4EwE.q@greenie.muc.de>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!Germany.EU.net!EU.net!uknet!keele!zib-berlin.de!fauern!lrz-muenchen.de!colin.muc.de!greenie!gert
References: <m0q9bZM-0002NPC@greenie.muc.de> <FDC.94Jun4112458@cliwe.uucp> <1994Jun7.192234.11742@chemabs.uucp>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f52a0,c90ac97a442d5221
X-Google-Attributes: gidf52a0,public
X-Google-Thread: 1025b4,c90ac97a442d5221
X-Google-Attributes: gid1025b4,public
X-Google-Thread: f6653,c90ac97a442d5221
X-Google-Attributes: gidf6653,public
X-Google-Thread: 11035d,c90ac97a442d5221
X-Google-Attributes: gid11035d,public
X-Google-ArrivalTime: 1994-06-09 17:18:37 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!uknet!keele!zib-berlin.de!fauern!lrz-muenchen.de!colin.muc.de!greenie!gert
From: gert@greenie.muc.de (Gert Doering)
Subject: Re: distinguish solaris 1 (SunOS 4) from solaris 2.x?
Organization: GreeniE
Date: Thu, 9 Jun 1994 08:14:36 GMT
Message-ID: <Cr4EwE.q@greenie.muc.de>
References: <m0q9bZM-0002NPC@greenie.muc.de> <FDC.94Jun4112458@cliwe.uucp> <1994Jun7.192234.11742@chemabs.uucp>
Lines: 25