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: Sean McBride <email@hidden>
- Date: Thu, 08 Mar 2012 10:34:57 -0500
- Organization: Rogue Research Inc.
On Thu, 8 Mar 2012 13:24:27 +0100, Jean-Daniel Dupas said:
>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 ?
My impression was that it did have to be referenced explicitly. With Xcode+gcc you always had to explicitly add libgcov to the linker options, this gave me the impression the same was needed with clang:
<http://llvm.org/bugs/show_bug.cgi?id=8030>
You are quite correct though, with both 4.2.1 and 4.3 setting:
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = YES
GCC_GENERATE_TEST_COVERAGE_FILES = YES
is sufficient.
Thanks!
--
____________________________________________________________
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