Re: [BUGS] ISM shared memory on solaris

Поиск
Список
Период
Сортировка
От Josh Wilmes
Тема Re: [BUGS] ISM shared memory on solaris
Дата
Msg-id 3F995FE0.3090708@cisco.com
обсуждение исходный текст
Ответ на Re: [BUGS] ISM shared memory on solaris  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [BUGS] ISM shared memory on solaris  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: [BUGS] ISM shared memory on solaris  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian wrote:

> Josh Wilmes wrote:
>
>>Nope, __solaris__ is not defined on our system either.
>
>
> I thought our configure defined __portname__ for every platform, but I
> don't see that anywhere, so it seems we rely on the compiler to supply
> defines for the cpu and OS.
>
> Does src/tools/ccsym show you your defines?  I would like to have
> something that identifies Solaris rather than something that checks for
> ISM so that if the ISM define isn't found, we throw an error and we hear
> about it.

That would be preferable- i didn't know what was safe to assume would
always be defined.

ccsym is pretty neat.  Here's what it shows (gcc)

__GNUC__=2
__GNUC_MINOR__=95
sparc
sun
unix
__svr4__
__SVR4
__sparc__
__sun__
__unix__
__svr4__
__SVR4
__sparc
__sun
__unix
system=unix
system=svr4
__GCC_NEW_VARARGS__
cpu=sparc
machine=sparc



В списке pgsql-patches по дате отправления:

Предыдущее
От: "ViSolve Open Source Team"
Дата:
Сообщение: PostgreSQL Patch: Test-and-set routine for HP-UX (IA-64)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [BUGS] PostgreSQL Patch: Test-and-set routine for HP-UX (IA-64)