Re: dlsym(...) and Intel Macs
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Damien Sorresso Macintosh Developer Computer Infrastructure Support Services Illinois State University damien.sorresso@ilstu.edu _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com 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. -- smime.p7s
participants (1)
-
Damien Sorresso