• 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: bad_typeid dyld Error on Leopard (10.5)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bad_typeid dyld Error on Leopard (10.5)


  • Subject: Re: bad_typeid dyld Error on Leopard (10.5)
  • From: Manfred Schwind <email@hidden>
  • Date: Fri, 21 May 2010 23:47:00 +0200

> The what() function is only defined in the gcc 4.2 header of the 10.6 SDK.  There is no what() in the gcc 4.0 header.

Ah, yes. So it seems the ABI compatibility problem is not caused by 10.5/10.6 but by GCC 4.0/4.2.
libstdc++ on 10.5 seems to be compiled with GCC 4.0, but on 10.6 it's compiled with GCC 4.2.

In the meantime I could solve the problem even when using GCC 4.2. I had to implement some more what() methods (found them all by using the "nm" command as suggested), and now my app runs fine from 10.4 up to 10.6 on all PPC and Intel Variants (even 32 and  64 bit).

> I think you'd need to use gcc 4.0 for a 10.4 deployment anyway.

I am using GCC 4.0 for the 32-Bit PPC build, because GCC 4.2 is producing "ppc7400" code that runs on G4 and G5. But Mac OS X 10.4 also runs on G3 Macs and I wanted to support that. GCC 4.0 produces "ppc" code that runs on G3, G4 and G5.
I don't think that GCC 4.0 is generally needed for 10.4 deployment (if you don't need to support G3).

Regards,
Mani
--
http://mani.de - friendly software
iVolume - listen to music hands-free
LittleSecrets - the encrypted notepad
Sahara - sand in your pocket
Watchdog - baffle the curious

 _______________________________________________
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: 
 >Re: bad_typeid dyld Error on Leopard (10.5) (From: Greg Guerin <email@hidden>)

  • Prev by Date: Re: Silencing linker warnings in xcode
  • Next by Date: Xcode automatically deletes the file XCodeMakesMeSick.pbxindex
  • Previous by thread: Re: bad_typeid dyld Error on Leopard (10.5)
  • Next by thread: A subversion strategy question...
  • Index(es):
    • Date
    • Thread