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

From Tom Lane
Subject Re: pgsql: Fix ecpg test building process to not generate *.dSYM junk on Ma
Date
Msg-id 11665.1287713947@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Fix ecpg test building process to not generate *.dSYM junk on Ma  (Bruce Momjian <bruce@momjian.us>)
List pgsql-committers
Bruce Momjian <bruce@momjian.us> writes:
> 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.

Putting a comment there wouldn't really help.  If this is ever broken
again, the odds are just about 100% that the breakage will be somewhere
else.  I tried to think of someplace in our documentation where makefile
writing conventions in general could be documented, but came up empty.

            regards, tom lane

pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgsql: Fix ecpg test building process to not generate *.dSYM junk on Ma
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Make OFF keyword unreserved. It's not hard to imagine wanting to