[LLVMdev] linking time

Chris Lattner sabre at nondot.org
Mon Feb 23 10:15:01 PST 2004


On Mon, 23 Feb 2004, Rahul Joshi wrote:
> The stuff I am working on requires linking 9-10 LLVM
> libraries, along with a few libs of my own. The linker is
> taking a long time to do that, about 6 mins (on a P4 with
> 512 MB mem). I tried the latest (2.14) release of binutils,
> but that didn't help. Is anyone aware of any solution to this?

Try downloading and building binutils from CVS.  For me, it sped up
linking "opt" from 61 -> 9s.  Other hints: make sure that the build tree
is on a local disk, not over NFS.

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list