• 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: Jack Nutting <email@hidden>
  • Date: Fri, 12 Aug 2005 16:03:27 +0200

On 8/12/05, Mark Dalrymple <email@hidden> wrote:

> 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.

For that matter, how about splitting up large code bases into seperate
dynamic bundles instead of building a monolithic application?  Then
recompiling will only relink affected bundles, instead of relinking
one giant executable.

--
// jack
// http://www.nuthole.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: Markus Hitter <email@hidden>
References: 
 >Re: reducing ld's memory footprint (19 minutes of linking) (From: Stefan Werner <email@hidden>)
 >Re: reducing ld's memory footprint (19 minutes of linking) (From: Mark Dalrymple <email@hidden>)

  • Prev by Date: NEXT_ROOT?
  • Next by Date: Re: Template Problems
  • 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