Re: Darwin compile flags

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Darwin compile flags
Date: 2003-09-24 18:44:48
Message-ID: 16624.1064429088@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> In early versions you needed to use it to turn of the header precompiler.
> (The precompiler is apparently buggy.) Now there is a separate flag for
> that.

I just two days ago verified that with Apple's latest compiler release,
you can only build PG with -no-cpp-precomp. -traditional-cpp fails, and
so does leaving off the cpp option entirely (in a different way though).
They seem to have changed the behavior of -traditional-cpp, because it
used to work with older Apple compilers. (So much for tradition ...)

I think these failures represent bugs in Apple's preprocessors, given that
everything else under the sun can compile PG. But it's not really worth
worrying about; we'll just use the recommended flag and be done with it.

regards, tom lane

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2003-09-24 19:11:19 Re: pgsql-server/src/backend catalog/index.c comma ...
Previous Message Bruce Momjian 2003-09-24 18:15:28 Re: Darwin compile flags

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-09-24 19:10:42 Re: PostgreSQL not ACID compliant?
Previous Message Bruce Momjian 2003-09-24 18:15:28 Re: Darwin compile flags