Re: 7.4beta2 experiences working on OS X 10.[2-3].x

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Johan Henselmans <johan(at)netsense(dot)nl>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.4beta2 experiences working on OS X 10.[2-3].x
Date: 2003-09-02 03:14:43
Message-ID: 200309020314.h823Ehh14245@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Johan Henselmans wrote:
> Hi, I have just subscribed to the hackers mailinglist to telll what my
> adventures are with 7.4.b2 and OS X so far.
>
> I have encountered some problems, and have some solutions, off which I
> do not know if they break the port, or do something wrong.
>
> gcc3.3
> =====
> First, gcc3.3 on 10.2.x and 10.3.x does nog get postgresql compiled.
> It seems to have to do with #ifdef indentation in the include files. I
> found some other references to it. I could work around some of the
> problems by removing spaces all "# ifdef" and "# ifdef" and related
> commands in the include files, but in the end compilations failed on
> bootstrap.c, with an error message about y.tab.c. It seems Apple has
> some more work to do on gcc3.3.
>
> I decided to try another compiler with the command gcc_select 3.1
> (which chooses the gcc 3.1 compiler).
>
> That did a lot better. The beta compiled and installed.

Yes, I saw that in Atlanta. gcc 3.3 is broken when you one of the
compiler flags that OS X defines during PostgreSQL compiles.

--
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message postgresql 2003-09-02 03:29:43 PG7.5
Previous Message Bruce Momjian 2003-09-02 03:10:44 Re: TCP/IP with 7.4 beta2 broken?