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: dlsym(...) and Intel Macs



On 18 Jul, 2006, at 10:57 AM, Andrew Pinski wrote:
On Jul 19, 2006, at 12:52 AM, Damien Sorresso wrote:
Turns out that gcc 4.0 was setting all symbols to `private extern' by default and hiding the exported symbols. So be weary of the "Symbols Hidden by Default" build option. I'm guessing that the PowerPC side would've broken if compiled with gcc 4.0 as well.

That option enables -fvisibility=hidden so yes you should understand what that option does before
using it.

It's enabled by default. I certainly wouldn't have turned it on. It was just a matter of looking in the right place, not a problem of understanding. As soon as I saw it, I knew it was the problem.
--


Damien Sorresso
Macintosh Developer
Computer Infrastructure Support Services
Illinois State University
email@hidden

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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >dlsym(...) and Intel Macs (From: Damien Sorresso <email@hidden>)
 >Re: dlsym(...) and Intel Macs (From: Eric Albert <email@hidden>)
 >Re: dlsym(...) and Intel Macs (From: "Jordan K. Hubbard" <email@hidden>)
 >Re: dlsym(...) and Intel Macs (From: Damien Sorresso <email@hidden>)
 >Re: dlsym(...) and Intel Macs (From: "Peter O'Gorman" <email@hidden>)
 >Re: dlsym(...) and Intel Macs (From: Damien Sorresso <email@hidden>)
 >Re: dlsym(...) and Intel Macs (From: "Peter O'Gorman" <email@hidden>)
 >Re: dlsym(...) and Intel Macs (From: Damien Sorresso <email@hidden>)
 >Re: dlsym(...) and Intel Macs (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.