Re: build environment: a different makefile

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: build environment: a different makefile
Дата
Msg-id 20080207092152.GC12085@svr2.hagander.net
обсуждение исходный текст
Ответ на Re: build environment: a different makefile  ("Dave Page" <dpage@postgresql.org>)
Ответы Re: build environment: a different makefile  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Feb 07, 2008 at 08:09:24AM +0000, Dave Page wrote:
> On Feb 6, 2008 11:12 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 
> > I've sometimes wondered whether the SUBSYS.o files really offer any
> > advantage compared to just linking all the individual .o files.  They
> > certainly eat disk space, but perhaps they save some time ... or perhaps
> > not, especially in a one-off build.
> 
> Getting rid of them would certainly make building OSX universal binaries easier.
> 
> > I suppose that we might fall foul of command line length limits on
> > some platforms :-(.  The output of your find command amounts to nearly
> > 11000 characters in HEAD.
> 
> 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.

//Magnus


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Page-at-a-time Locking Considerations
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: Page-at-a-time Locking Considerations