Re: What's the current theory about derived files in VPATH builds?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: What's the current theory about derived files in VPATH builds?
Date: 2010-01-05 00:05:51
Message-ID: 24691.1262649951@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> On mn, 2010-01-04 at 18:49 -0500, Tom Lane wrote:
>> I thought the current plan was that derived files should be generated in
>> the build tree (as indeed it seems to be doing) ... but there are
>> apparently parts of the Makefiles that are not in sync with this plan.
>> Has this just not been tested recently, or am I confused?

> This should in principle work. My guess is an old make version being
> confused.

Well, I am testing with relatively old make and gcc too, but what it
looks like to me is that we need to add a "-I." switch in places where we
might need to #include a file out of the current build directory.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2010-01-05 00:19:20 Re: New VACUUM FULL
Previous Message Peter Eisentraut 2010-01-04 23:57:24 Re: What's the current theory about derived files in VPATH builds?