Re: build environment: a different makefile

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Dave Page <dpage(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Paul van den Bogaard <Paul(dot)Vandenbogaard(at)sun(dot)com>
Subject: Re: build environment: a different makefile
Date: 2008-02-07 15:16:53
Message-ID: 3536.1202397413@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander <magnus(at)hagander(dot)net> writes:
> On Thu, Feb 07, 2008 at 08:09:24AM +0000, Dave Page wrote:
>> What do other large build systems do?

> FWIW, the MSVC build ends up writing the list of object files to a temp
> file and then having the linker read that list. (This is all done behind
> the scenes though, it's not something we made up) IIRC the gcc linker can
> also take the commandline from a file instead of the actual commandline,
> which should be workable I think.

Hmm. I'm not sure that's universal, but if it is then a simple
incremental improvement on what we're doing now would be to replace the
SUBSYS.o files with "subsys include files" that just list all the .o
files to be included.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Staale Smedseng 2008-02-07 15:29:52 Re: Why are we waiting?
Previous Message Andrew Dunstan 2008-02-07 14:47:08 Re: 8.3 / 8.2.6 restore comparison