• 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: libstdc++ problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libstdc++ problem


  • Subject: Re: libstdc++ problem
  • From: "Roni Music" <email@hidden>
  • Date: Thu, 23 Mar 2006 18:05:36 +0100


----- Original Message ----- From: "Sean McBride" <email@hidden>
To: "Roni Music" <email@hidden>; <email@hidden>
Sent: Thursday, March 23, 2006 5:22 PM
Subject: Re: libstdc++ problem



On 2006-03-23 11:54, Roni Music said:

It  runs fine on OS X 10.4.5 and 10.3.9 (both Intel and PPC)

On OS X 10.2.8 it crasches if I use std::log10()
but works OK if I use log10() that is declared in fp.h
So the problem is if using functions from the standard C++ library

I'm building with GCC 3.3 for PPC,
deplyoment target is set to 10.2

Are you also using the 10.2.x SDK?

No, 10.4u SDK

I also tried to build a simple default Carbon project
using the same project settings as in my ordinary app.
There it works OK (as it should)

I use these settings:
ARCHS = ppc i386
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk
GCC_VERSION_ppc = 3.3
MACOSX_DEPLOYMENT_TARGET_ppc = 10.2
OTHER_LD_FLAGS_ppc = /Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a


the only thing I dind't try was to change into:
SDKROOT_ppc = /Developer/SDKs/MacOSX10.2.8.sdk

The problem is that I need a couple of definitions for CoreAudio
that is not in the 10.2.8 SDK (this stuff isn't used if the app is running on 10.2)
(I could extract those definitions from the newer SDK's, used to do when using CodeWarrior)


But it should work without using the 10.2.8 SDK

Rolf

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________
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: 
 >libstdc++ problem (From: "Roni Music" <email@hidden>)
 >Re: libstdc++ problem (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Problem using c++ functions with a custom framework
  • Next by Date: Re: Problem using c++ functions with a custom framework
  • Previous by thread: Re: libstdc++ problem
  • Next by thread: End of file (EOF) in Xcode question
  • Index(es):
    • Date
    • Thread