Re: add darwin/osxpb support to cvs

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Hartzler <bruceh(at)mail(dot)utexas(dot)edu>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: add darwin/osxpb support to cvs
Date: 2000-10-23 17:29:45
Message-ID: Pine.LNX.4.21.0010231928520.787-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

I'll take this and integrate it. Please, nobody commit this right now,
I'm messing with things...

Bruce Hartzler writes:

> this patch and tar archive will add support for the darwin/osxpb to the current cvs tree.
>
> a couple things to note:
>
> - unpack the tar archive in pgsql/
>
> - the config.guess and config.sub files have been updated by apple to support their new os. i don't think these changes have been folded back in to the main archive yet (at least they aren't in the pgsql cvs yet). these need to be copied over from /usr/libexec/config.* in order to obtain the correct os (e.g. powerpc-apple-darwin1.2 on PB).
>
> - the diff only patches configure.in so autoconf needs to be rerun
>
> - the situation with darwin's implementation of sysv semaphores is in progress at the moment (the shm/ipc support *is* there and seems to work fine). so this patch uses HAVE_SYS_SEM_H to conditionally build the src/backend/port/darwin semaphore code (borrowed from qnx4). I've followed the BeOS example of including the necessary sem.h declarations in src/include/port/darwin.h. this is rather messy at the moment and can be dumped once apple releases a version of PB with sysv sem built into the kernel.
>
> - i'm a bit confused over the __powerpc__ tas function in s_lock.c (there i assume for the ppc-linux port). it doesn't compile at all on darwin so i just added a version that does work on darwin under DARWIN_OS. it's potentially a bit confusing and s_lock.c should probably be changed to include a better conditional.
>
> bruce
>
>
>

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin O'Gorman 2000-10-23 18:09:16 Re: Navigating time-warps in the CVS tree (was re the rule system)
Previous Message Philip Warner 2000-10-23 17:16:21 Re: AW: AW: relation ### modified while in use

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2000-10-24 18:44:22 Re: [PATCHES] add darwin/osxpb support to cvs
Previous Message Bruce Hartzler 2000-10-23 17:08:36 Re: add darwin/osxpb support to cvs