Skip site navigation (1) Skip section navigation (2)

Re: ISM shared memory on solaris

From: Josh Wilmes <jwilmes(at)cisco(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org,Nick Johnson <njohnson(at)cisco(dot)com>
Subject: Re: ISM shared memory on solaris
Date: 2003-10-24 17:22:40
Message-ID: 3F995FE0.3090708@cisco.com (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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



In response to

Responses

pgsql-bugs by date

Next:From: ViSolve Open Source TeamDate: 2003-10-24 17:51:40
Subject: PostgreSQL Patch: Test-and-set routine for HP-UX (IA-64)
Previous:From: Bruce MomjianDate: 2003-10-24 16:16:28
Subject: Re: ISM shared memory on solaris

pgsql-patches by date

Next:From: ViSolve Open Source TeamDate: 2003-10-24 17:51:40
Subject: PostgreSQL Patch: Test-and-set routine for HP-UX (IA-64)
Previous:From: Bruce MomjianDate: 2003-10-24 16:16:28
Subject: Re: ISM shared memory on solaris

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group