• 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: SOLVED: > 1GB link problem - Thanks, Peter!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SOLVED: > 1GB link problem - Thanks, Peter!


  • Subject: Re: SOLVED: > 1GB link problem - Thanks, Peter!
  • From: Peter O'Gorman <email@hidden>
  • Date: Tue, 28 Aug 2007 15:55:19 -0500

On Tue, 2007-08-28 at 13:24 -0700, Helmut Brandt wrote:
> Thanks to all that replied to help my enormous link problem.
>
> I have just now linked my object files (total executable turned out to
> be 1.15 GB), and have run the executable successfully, on my development
> system. (Mac Mini Core Duo with 2 GB RAM,  Tiger 10.4.10, Xcode 2.4.1)
>
> I had replied to Peter O'Gorman offline earlier today, and he provided
> what turned out to be the winning suggestion. I simply executed these
> three commands provided by Peter to substitute ld64 for ld:
>
> cd /usr/bin
> sudo mv ld ld32
> sudo ln -s ld64 ld
>
> , then ran the linker command given in the Xcode "Build Results" window
> by typing it directly in the terminal. Voila! A successful build, and
> the executable runs great!
>
> Thanks again to all who replied, especially Peter.
>
> Final question: Since I am now using ld64, should I recompile to 64 bit,
> or does it matter, since this works?

I'm glad that you got it working (also good to know that ld64 fixes this
annoyance), however you should now probably put your /usr/bin back into
its prior state and ask the experts on this list how to choose the
linker from the Xcode GUI.

Reason: ld64 on tiger is missing many features and flags that are
available with the classic linker, you may find odd errors in other
projects because you switched them.

Peter
 _______________________________________________
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

References: 
 >1 GB limit on total object files size for linking? (From: "Helmut Brandt" <email@hidden>)
 >Re: 1 GB limit on total object files size for linking? (From: "Helmut Brandt" <email@hidden>)
 >Re: 1 GB limit on total object files size for linking? (From: Jonas Maebe <email@hidden>)
 >Re: 1 GB limit on total object files size for linking? (From: Peter O'Gorman <email@hidden>)
 >SOLVED: > 1GB link problem - Thanks, Peter! (From: "Helmut Brandt" <email@hidden>)

  • Prev by Date: SOLVED: > 1GB link problem - Thanks, Peter!
  • Next by Date: Re: SOLVED: > 1GB link problem - Thanks, Peter!
  • Previous by thread: SOLVED: > 1GB link problem - Thanks, Peter!
  • Next by thread: Re: SOLVED: > 1GB link problem - Thanks, Peter!
  • Index(es):
    • Date
    • Thread