bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Port getprogname module to SCO OpenServer


From: Tim Rice
Subject: Re: Port getprogname module to SCO OpenServer
Date: Mon, 5 Oct 2020 17:10:49 -0700 (PDT)
User-agent: Alpine 2.11 (UW2 23 2013-08-11)

On Sun, 4 Oct 2020, Bruno Haible wrote:

> OK. And what about __UNIXWARE__ and __OPENSERVER__ that I see being used [1]?
> On which versions are they defined?

For the most part __UNIXWARE__ and __OPENSERVER__ were used by some in
build driver scripts. Usually like CFLAGS="-O -D__UNIXWARE__"
As you can see below, __OPENSERVER__ is defined in the old gcc 2.95
on Openserver 5.

> 
> As it starts to get confusing, maybe you can clarify things by filling in this
> table?

I am glad you asked. It turns out I was mistaken about __USLC__
It looks like it is defined on Opensever 5 too.

Here is how it looks on current shipping products.

>                 |  OpenServer 5    |  OpenServer 6   |  UnixWare 7     |
>                 |                  |                 |                 |
>                 | native  |  gcc   | native  |  gcc  | native  |  gcc  |
>                 |         |        |         |       |         |       |
> ----------------+---------+--------+---------+-------+---------+-------+
> _SCO_DS         |   1     |   1    |         |       |         |       |
>                 |         |        |         |       |         |       |
> __SCO_VERSION__ |         |        |402201601|       |402201403|       |
>                 |         |        |         |       |         |       |
>   __USLC__      |   1     |        |    1    |       |    1    |       |
>                 |         |        |         |       |         |       |
> __UNIXWARE__    |         |        |         |       |         |       |
>                 |         |        |         |       |         |       |
> __OPENSERVER__  |         |  507   |         |       |         |       |
>                 |         |        |         |       |         |       |
> __sysv5__       |         |        |         |   1   |         |   1   |
> ----------------+---------+--------+---------+-------+---------+-------+
> 
> Bruno
> 
> [1] 
> https://opensource.apple.com/source/X11misc/X11misc-10.1/makedepend/makedepend-1.0.1/imakemdep.h.auto.html
> 

-- 
Tim Rice                                Multitalents
tim@multitalents.net





reply via email to

[Prev in Thread] Current Thread [Next in Thread]