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



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: 
 >complex number lib with PB and gcc 3.3 (From: Jed Everitt <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.