• 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: X-compling on intel for 10.3 PPC
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: X-compling on intel for 10.3 PPC


  • Subject: Re: X-compling on intel for 10.3 PPC
  • From: Conrad G T Yoder <email@hidden>
  • Date: Mon, 19 Feb 2007 21:40:24 -0500
  • Thread-topic: X-compling on intel for 10.3 PPC

At 2/14/07 12:58 PM -0500, Rob McKeever <email@hidden> wrote:
>
> You might find TechNote 2163 "Building Universal I\/O Kit Drivers"
> helpful:
>
> <http://developer.apple.com/technotes/tn2006/tn2163.html>
>
> While I  realize you're not building a kext, the steps to do this
> from inside Xcode are the same.  If you're trying to do this from
> MAkefiles, you should be able to use Xcode to help you see what you
> should be doing for each of the steps.

For any who are interested, I found the solution, which is a workaround for
an apparent bug in Xcode 2.3 (gcc 4.0.1 build 5341).  Not sure if this bug
exists in more recent releases.

gcc is generating calls to cxa_atexit (which exists only in 10.4 system
libs) in C++ code, in spite of the switch '-mmacosx-version-min=10.3' being
used.  Thanks be to google, I tried the super-ultra-nsa-grade-secret gcc
switch '-fno-use-cxa-atexit', and that did the trick.

Anyone know offhand if this is fixed in later gcc releases?

-Conrad

--
Liberty, Equality, Fraternity, Information.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: X-compling on intel for 10.3 PPC (From: Rob McKeever <email@hidden>)

  • Prev by Date: Re: Bug in TCP stack: RST has wrong sequence number?
  • Next by Date: Re: Read-Timeout with Blocking Socket
  • Previous by thread: Re: X-compling on intel for 10.3 PPC
  • Next by thread: Regarding running service.
  • Index(es):
    • Date
    • Thread