Re: pgsql: Link postgres from all object files at once, to avoid the - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Link postgres from all object files at once, to avoid the
Date
Msg-id 20705.1203992494@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: Link postgres from all object files at once, to avoid the  (petere@postgresql.org (Peter Eisentraut))
Responses Re: pgsql: Link postgres from all object files at once, to avoid the
List pgsql-committers
petere@postgresql.org (Peter Eisentraut) writes:
> Instead of partial linking into SUBSYS.o, the list of object files is
> assembled in objfiles.txt files that are expanded when the final
> linking is done.

BTW, why does this patch force objfiles.txt to be regenerated every time
any individual .o file is rebuilt?  Surely it need only depend on the
specific Makefile (and maybe Makefile.global).

I find the current behavior kind of annoying because the echo command
occupies more than a full window in some subdirectories (eg utils/adt),
making it necessary to scroll back to see whether one's recompile of a
couple of modified files generated any warnings.  If the dependencies
need to stay as they are, maybe we could avoid the annoyance by having
make not print the echo command.

            regards, tom lane

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Reject year zero during datetime input, except when it's a
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Link postgres from all object files at once, to avoid the