incremental linking?

Hal Daume III hdaume@ISI.EDU
Wed, 27 Nov 2002 07:48:58 -0800 (PST)


> > More fun with Haskell-in-the-large: linking time has become the
> > main bottleneck in our development cycle. The standard solution
> > would be to use an incremental linker, but it seems that gnu does
> > not yet support this:-|
> 
> Hmm, I've never heard of linking being a bottleneck.  Even GHC itself
> links in about 3-4 seconds here.  One common problem is that linking on
> a network filesystem takes a *lot* longer than linking objects from a
> local disk.  It's always a good idea to keep the build tree on the local
> disk, even if the sources are NFS-mounted.

I also have this problem, and while being on a local disk rather than NFS
helps, it doesn't help all that much.  For large projects, I usually have
time to get a cup of coffee while linking (admittedly only four doors
away, but...).  When on NFS, I have time to go to the local coffeehouse...

 - Hal