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@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073