Re: pgsql: Fix ecpg test building process to not generate *.dSYM junk on Ma

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix ecpg test building process to not generate *.dSYM junk on Ma
Date: 2010-10-22 01:05:03
Message-ID: 201010220105.o9M153a07115@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Tom Lane wrote:
> Fix ecpg test building process to not generate *.dSYM junk on Macs.
>
> The trick is to not try to build executables directly from .c files,
> but to always build the intermediate .o files. For obscure reasons,
> Darwin's version of gcc will leave debug cruft behind in the first
> case but not the second. Per complaint from Robert Haas.

A Makefile comment would have been nice so this is not un-done in the
future.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-10-22 02:19:07 Re: pgsql: Fix ecpg test building process to not generate *.dSYM junk on Ma
Previous Message Bruce Momjian 2010-10-21 22:00:13 pgsql: Mention limited usefulness of .pgpass database field.