Re: Xcode 4.3 moved libprofile_rt, how to reference it now?
Re: Xcode 4.3 moved libprofile_rt, how to reference it now?
- Subject: Re: Xcode 4.3 moved libprofile_rt, how to reference it now?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Thu, 08 Mar 2012 13:24:27 +0100
Le 7 mars 2012 à 21:24, Sean McBride a écrit :
> Hi all,
>
> In Xcode 4.2, libprofile_rt was found here:
>
> /Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/libprofile_rt.a
> /Deveroper/Platforms/iPhoneOS.platform/Developer/usr/lib/libprofile_rt.dylib
> /usr/lib/libprofile_rt.a
> /usr/lib/libprofile_rt.dylib
>
> In Xcode 4.3, with /Developer gone, it's now found here:
>
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/libprofile_rt.a
> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/libprofile_rt.dylib
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libprofile_rt.a
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libprofile_rt.dylib
>
> How am I supposed to reference this thing? (for Mac OS)
>
> Previously, I was adding $DEVELOPER_USR_DIR/lib to my LIBRARY_SEARCH_PATHS and -lprofile_rt to my OTHER_LDFLAGS but now in 4.3 this is broken since $DEVELOPER_USR_DIR doesn't resolve to this 'Toolchains' folder.
You shouldn't have to reference it explicitly. The clang driver take care of adding libprofile_rt to the linker invocation when needed, just like it takes care of libclang_rt.
What compiler options that require this library are you using ?
-- Jean-Daniel
_______________________________________________
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