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