Re: recompile without -mlong-branch?
Re: recompile without -mlong-branch?
- Subject: Re: recompile without -mlong-branch?
- From: "Sean McBride" <email@hidden>
- Date: Tue, 1 Sep 2009 17:59:04 -0400
- Organization: Rogue Research Inc.
On 9/1/09 10:43 AM, Jonas Maebe said:
>> I installed Snow Leopard and Xcode 3.2 a few days ago, and had good
>> luck for a while. This evening, however, I tried a build in an
>> Xcode project which compiled and ran fine in Leopard / Xcode 3.1.3,
>> and I got the following link-time error:
>>
>> ld: warning: object file compiled with -mlong-branch which is no
>> longer needed. To remove this warning, recompile without -mlong-
>> branch: /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/crt1.o
>[snip]
>> Can anyone suggest anything I might be missing?
>
>The release notes.
>
>"GCC 4.2 cannot be used with the Mac OS X 10.4u SDK. If you want to
>build targets using the 10.4u SDK on Xcode 3.2, you must set the
>Compiler Version to GCC 4.0"
You can blame the user, but I prefer blame the user interface. If such
combinations of compiler and SDK are known to be invalid, then Xcode
should be able to generate an error message to indicate this. Jay, you
should file a bug.
--
____________________________________________________________
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