Re: SOLVED: > 1GB link problem - Thanks, Peter!
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