• 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: wchar link problems building for jaguar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wchar link problems building for jaguar


  • Subject: Re: wchar link problems building for jaguar
  • From: Thane Norton <email@hidden>
  • Date: Tue, 28 Oct 2003 16:50:54 -0800

We seem to have a solution for building a 10.1.5 thru 10.3 binary using
XCode and GCC 3.3.  Can't claim it will work for everyone, but it got
our
stuff up and running.

In the precomp file:

#include <c++config.h>

#undef _GLIBCPP_USE_WCHAR_T
#undef _GLIBCPP_HAVE_BTOWC
#undef _GLIBCPP_HAVE_MBSRTOWCS
#undef _GLIBCPP_HAVE_WCSCOLL
#undef _GLIBCPP_HAVE_WCSFTIME
#undef _GLIBCPP_HAVE_WCSLEN
#undef _GLIBCPP_HAVE_WCSXFRM
#undef _GLIBCPP_HAVE_WCTOB
#undef _GLIBCPP_USE_C99
#undef _GLIBCPP_HAVE_WMEMCHR
#undef _GLIBCPP_HAVE_WMEMCMP
#undef _GLIBCPP_HAVE_WMEMCPY
#undef _GLIBCPP_HAVE_WMEMMOVE
#undef _GLIBCPP_HAVE_WMEMSET
#undef _GLIBCPP_HAVE_WCTYPE_H
#undef _GLIBCPP_HAVE_WMEMMOVE
#undef _GLIBCPP_HAVE_WMEMSET

Set the target "Mac OS X deployment target" to "10.1", the project
"Cross-development using target SDK" to the "Current Mac OS" and
SPECIFICALLY set the libstdc++.a to be the one at:

/Developer/SDKs/MacOSX10.2.7.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a

Good luck.  You'll need it.  This has failed for others on the list.

-----------------------------------------
V. Thane Norton III
Macintosh Software Engineer
Wacom Technology Corporation
phone: 360.896.9833 x172
mailto:email@hidden
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: wchar link problems building for jaguar (From: Thane Norton <email@hidden>)

  • Prev by Date: otool
  • Next by Date: Re: wchar link problems building for jaguar
  • Previous by thread: Re: wchar link problems building for jaguar
  • Next by thread: Re: wchar link problems building for jaguar
  • Index(es):
    • Date
    • Thread