Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: complex number lib with PB and gcc 3.3



Yep, PB was using the 2.95 compiler. Got code compiling with 3.1 again but still haven't been able to get 3.3 firing on all 4.

Changed the PB project target build settings as described in the readme

CC = /usr/bin/gcc-3.3
CPLUSPLUS = /usr/bin/g++-3.3
GCC_VERSION = 3.x

and

sudo /usr/bin/gcc_select 3.3
- checked using gcc -v

but PB compiler always defaults to 2.95. This happens even with a brand new project :-(
I assume there must be something else to set in PB?

TIA - Jed

On Thursday, Jun 26, 2003, at 13:28 Europe/London, Andrew Pinski wrote:


On Thursday, Jun 26, 2003, at 05:45 US/Eastern, Jed Everitt wrote:

Hi
Have just installed the gccUpdate from apple and ProjectBuilder no
longer links code which uses the complex number libs.

I have tried including both 3.1 and 3.3 libstdc++.a files but I get the
same error...

ld: Undefined symbols:
___dv__H1Zd_RCt7complex1ZX01n1_B0
___t7complex1Zddd
_cos__H1Zd_RCt7complex1ZX01_B0
_cosh__H1Zd_RCt7complex1ZX01_B0
_exp__H1Zd_RCt7complex1ZX01_B0

[snip]

_sin__H1Zr_RCt7complex1ZX01_B0
_sinh__H1Zr_RCt7complex1ZX01_B0
_sqrt__H1Zr_RCt7complex1ZX01_B0

The readme stated that installing the update shouldn't make any
difference to ProjectBuilder compiles, I'm not convinced :-(

The symbols you quoted look like 2.95 based mangling of c++ symbols, not 3.x based.
Make sure you are compiling with the compiler you want to compile with, 2.95 is not
that good.
You can tell if you compiled with a 3.x based compile they will have _Z at the
beginning of the symbol.


Thanks,
Andrew Pinski
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: complex number lib with PB and gcc 3.3 (From: Andrew Pinski <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.