• 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: Using STL strings and supporting 10.2.x
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using STL strings and supporting 10.2.x


  • Subject: Re: Using STL strings and supporting 10.2.x
  • From: Mark Thomas <email@hidden>
  • Date: Mon, 21 Apr 2008 18:10:26 +0100
  • Thread-topic: Using STL strings and supporting 10.2.x

> Message: 10
> Date: Fri, 18 Apr 2008 23:20:13 -0700
> From: Chris Espinosa <email@hidden>
> Subject: Re: Using STL strings and supporting 10.2.x
> To: David Dunham <email@hidden>
> Cc: XCode Users <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
>
> And none of Apple's current tools support development for 10.2.  You
> need Xcode 1.5 or earlier with gcc 2.95.2 to deploy to 10.2, which
> will block you out of four or five years of OS improvements.

 Is there anyway I can use the info from

http://developer.apple.com/technotes/tn2002/tn2064.html

  here to define the wchar functions as weaked linked ? I.e.

extern "C" wchar_t *wmemchr(const wchar_t *s, wchar_t c, size_t n)
__attribute__((weak_import));

  as I use this technique, when using functions in system frameworks and all
works fine, as I tried to above and it didn't mark those functions as
'weaked linked'. (The source code doesn't use any wchar's, so this should be
safe, not sure at the minute why the linker didn't dead strip this code.)

  Maybe, there a tool which can change the .dylib attributes post build and
make these symbols weak linked ?

Thanks
Mark.


 _______________________________________________
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

  • Follow-Ups:
    • Re: Using STL strings and supporting 10.2.x
      • From: "Clark Cox" <email@hidden>
    • Re: Using STL strings and supporting 10.2.x
      • From: "Clark Cox" <email@hidden>
  • Prev by Date: Re: thin linking: "file is not of required architecture"
  • Next by Date: Re: Copying dependent frameworks
  • Previous by thread: Re: Using STL strings and supporting 10.2.x
  • Next by thread: Re: Using STL strings and supporting 10.2.x
  • Index(es):
    • Date
    • Thread