• 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: reducing ld's memory footprint (19 minutes of linking)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reducing ld's memory footprint (19 minutes of linking)


  • Subject: Re: reducing ld's memory footprint (19 minutes of linking)
  • From: Mark Dalrymple <email@hidden>
  • Date: Fri, 12 Aug 2005 09:53:00 -0400

> Now that we nailed down the problem so clearly, can anyone maybe offer a
> solution? I just noticed that a different project of mine spends about the same
> time in libtool and ranlib.


Since you brought up ranlib, it sounds like you're using static libraries. How large are these libraries?

Way Back in the mists of time, I worked on a project with static libraries, and we discovered that ranlib time was O(N^2) on a number of Unix platforms (this was pre OS X), and linking was dominating our build time. By breaking up the large library into 5 or 6 smaller ones, we got our ranlib and link times down to reasonable levels.

It was a different toolchain, so this may be worthless advice. Apologies in advance if it is.

Cheers,
++Mark Dalrymple, email@hidden
  http://borkware.com

_______________________________________________
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:
    • Re: reducing ld's memory footprint (19 minutes of linking)
      • From: Jack Nutting <email@hidden>
References: 
 >Re: reducing ld's memory footprint (19 minutes of linking) (From: Stefan Werner <email@hidden>)

  • Prev by Date: Re: Why XCode and not Code Warrior
  • Next by Date: NEXT_ROOT?
  • Previous by thread: Re: reducing ld's memory footprint (19 minutes of linking)
  • Next by thread: Re: reducing ld's memory footprint (19 minutes of linking)
  • Index(es):
    • Date
    • Thread