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.
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/
In response to
pgsql-hackers by date
|Next:||From: Kevin O'Gorman||Date: 2000-10-23 18:09:16|
|Subject: Re: Navigating time-warps in the CVS tree (was re the rule system)|
|Previous:||From: Philip Warner||Date: 2000-10-23 17:16:21|
|Subject: Re: AW: AW: relation ### modified while in use |
pgsql-patches by date
|Next:||From: Peter Eisentraut||Date: 2000-10-24 18:44:22|
|Subject: Re: [PATCHES] add darwin/osxpb support to cvs|
|Previous:||From: Bruce Hartzler||Date: 2000-10-23 17:08:36|
|Subject: Re: add darwin/osxpb support to cvs |