• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Slow link times
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slow link times


  • Subject: Re: Slow link times
  • From: Chris Hanson <email@hidden>
  • Date: Tue, 12 Jan 2010 12:45:34 -0800

On Jan 12, 2010, at 8:38 AM, Jens Alfke wrote:

> I know, this is a very large C++ project, so linking is always going to be a chore. Does anyone have tips on how to optimize link times? Does it help to link subcomponents into static libraries and then link those together? (Actually I think Chrome is doing some of that already.)

Remember that “static libraries” on Unix are archives of .o files, not themselves something linked, so you’re not really changing the amount of work the linker has to do by using them.

If you actually did a single-object prelink for your static libraries, so each one only contained a single .o file (with controlled exports, of course), that could conceivably help.  I’ve never tried it though.

  — Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Which files are unused?
      • From: Owen Hartnett <email@hidden>
References: 
 >Slow link times (From: Jens Alfke <email@hidden>)

  • Prev by Date: codesign CSSMERR_TP_NOT_TRUSTED error
  • Next by Date: Which files are unused?
  • Previous by thread: Re: Slow link times
  • Next by thread: Which files are unused?
  • Index(es):
    • Date
    • Thread