• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode 4.3 moved libprofile_rt, how to reference it now?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Xcode 4.3 moved libprofile_rt, how to reference it now? (From: Sean McBride <email@hidden>)
 >Re: Xcode 4.3 moved libprofile_rt, how to reference it now? (From: Jean-Daniel Dupas <email@hidden>)

  • Prev by Date: Re: OK, so now blocks of code are disappearing from my files.
  • Next by Date: Re: Where is the Property List Editor
  • Previous by thread: Re: Xcode 4.3 moved libprofile_rt, how to reference it now?
  • Next by thread: OK, so now blocks of code are disappearing from my files.
  • Index(es):
    • Date
    • Thread