darwin x86

Lists: pgsql-ports
From: Chris Langlois <clanglois(at)mac(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: darwin x86
Date: 2003-12-04 02:18:47
Message-ID: 3169BE74-2600-11D8-BF93-000A95A0828E@mac.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-ports

If you add the following to the /src/include/port/darwin.h file,
pgsql-7.4 will build successfully on Darwin x86:

#define __darwin__ 1

#if defined(__ppc__)
#define HAS_TEST_AND_SET
#endif

+#if defined(__i386__)
+#define HAS_TEST_AND_SET
+#endif

#if defined(__ppc__)
typedef unsigned int slock_t;

#else
typedef unsigned char slock_t;

#endif


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Chris Langlois <clanglois(at)mac(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: darwin x86
Date: 2003-12-04 20:54:57
Message-ID: Pine.LNX.4.44.0312042154250.22753-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-ports

Chris Langlois writes:

> If you add the following to the /src/include/port/darwin.h file,
> pgsql-7.4 will build successfully on Darwin x86:

Does it also run successfully? (For example, do the regression tests
pass?)

--
Peter Eisentraut peter_e(at)gmx(dot)net


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Chris Langlois <clanglois(at)mac(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: darwin x86
Date: 2003-12-16 00:46:50
Message-ID: 200312160046.hBG0koH07748@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-ports


We are waiting for a report of a successful run of test/regress before
making this change. Please let us know if the test succeeds.

---------------------------------------------------------------------------

Chris Langlois wrote:
> If you add the following to the /src/include/port/darwin.h file,
> pgsql-7.4 will build successfully on Darwin x86:
>
> #define __darwin__ 1
>
> #if defined(__ppc__)
> #define HAS_TEST_AND_SET
> #endif
>
> +#if defined(__i386__)
> +#define HAS_TEST_AND_SET
> +#endif
>
> #if defined(__ppc__)
> typedef unsigned int slock_t;
>
> #else
> typedef unsigned char slock_t;
>
> #endif
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073