Re: How to get details of link errors with Xcode?
Re: How to get details of link errors with Xcode?
- Subject: Re: How to get details of link errors with Xcode?
- From: "Sean McBride" <email@hidden>
- Date: Thu, 18 Aug 2005 10:28:19 -0400
- Organization: Rogue Research
On 2005-08-18 10:48, Bill Northcott said:
>On 18/08/2005, at 5:14 AM, Sean McBride wrote:
>> Xcode 2.2 says:
>>
>> ld: Undefined symbols:
>> _sprintf$LDBLStub
>>
>>
>> Not very useful. :( Is there any way to get Xcode to give useful
>> info,
>> like CodeWarrior does?
>Not to answer to answer your question directly, but the proximate
>cause of this error is invoking ld or libtool directly to link an
>executable.
>
>The correct way to link code is using the gcc compiler driver which
>automatically includes the necessary system libraries and invokes
>libtool, ld, and even lipo repeatedly if needed.
>
>Why it is happening in your project, I don't know without a lot more
>detail.
I'm afraid you have me quite confused... :) I don't use ld or libtool
at all, I use Xcode. Of course I know Xcode may use these things under
the hood, but I have done nothing special to my xcode projects. My
static libs are added by drag and drop, settings are set with the GUI
(I've never added any 'other flags' kind of things).
The static libs otoh are built the './configure' & 'make' way... so
maybe something is done wrong there? These libs are 3rd party, although
open source, though it is me that builds them.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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