From: | Bruce Hartzler <bruceh(at)mail(dot)utexas(dot)edu> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | add darwin/osxpb support to cvs |
Date: | 2000-10-22 23:51:06 |
Message-ID: | E13nUsy-00042A-00@smtp01.mrf.mail.rcn.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
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
Attachment | Content-Type | Size |
---|---|---|
pg_darwin.diff | application/octet-stream | 4.7 KB |
pg_darwin.tar.gz | application/x-gzip | 6.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-10-22 23:56:14 | Re: pg_dump of regression (again) |
Previous Message | Larry Rosenman | 2000-10-22 23:46:38 | Re: AnonCVS access? |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-10-23 16:43:53 | Re: add darwin/osxpb support to cvs |
Previous Message | Tom Lane | 2000-10-22 19:21:59 | Re: Re: [HACKERS] to_char() dumps core |