• 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: libicucore?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libicucore?


  • Subject: Re: libicucore?
  • From: Eric Albert <email@hidden>
  • Date: Wed, 15 Jun 2005 14:39:24 -0700

On Jun 15, 2005, at 12:03 PM, Mark Munz (DevList) wrote:

Is anyone using /usr/libicucore?

If so, can you tell me where I might find the header for this library?

I forwarded your question to our ICU expert, Deborah Goldsmith, and got the response below. If you have additional questions about it I'd suggest asking on carbon-dev, since I believe Deborah reads that list.
-----
Apple does not currently support direct developer access to ICU. We are considering such support for a future release of Mac OS X.


It is possible to access ICU by downloading it from icu.sourceforge.net, building it to produce the header files, compiling against those headers, and then linking against /usr/lib/ libicucore.dylib. You need to be aware of the following:

1. You need to use the right version of ICU for the version of Mac OS X you are using:
a. 10.2.x and earlier do not have ICU at all
b. 10.3.x has ICU 2.6
c. 10.4.x has ICU 3.2


For example, if you need to run on Panther, use the ICU 2.6 headers; if you require Tiger, then you can use the 3.2 headers. If you need to run on 10.2.x then you cannot rely on ICU being present.

2. You must not use draft or C++ APIs, or your application may crash when run on future versions of Mac OS X. If you are using the ICU 3.2 headers (or later), you can do this to hide draft APIs:

#define U_HIDE_DRAFT_API 1

before including any ICU header files. Never include a C++ header file.

3. Apple does not support this usage of ICU. I think it will work, but cannot make any guarantees.

Deborah Goldsmith
Internationalization, Unicode liaison
Apple Computer, Inc.
email@hidden
-----

Hope this helps,
Eric

_______________________________________________
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: libicucore?
      • From: Finlay Dobbie <email@hidden>
References: 
 >libicucore? (From: "Mark Munz (DevList)" <email@hidden>)

  • Prev by Date: Re: Bug in the objective-c++ compiler?
  • Next by Date: xCode 2 and static links ?
  • Previous by thread: libicucore?
  • Next by thread: Re: libicucore?
  • Index(es):
    • Date
    • Thread