Re: dlsym(...) and Intel Macs
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Mon, 2006-07-17 at 22:29 -0500, Damien Sorresso wrote:
On 17 Jul, 2006, at 10:16 PM, Eric Albert wrote:
On Jul 17, 2006, at 8:08 PM, Damien Sorresso wrote:
No, they're two separate binaries. (Trust me there's a good reason for this.)
I hate to say this, but I don't quite trust you on that. :) What's the reason? I've seen an awful lot of cases over the past year where folks thought they needed separate binaries but I've yet to see one which actually did. Maybe you'll be the first....
Because the application I'm writing has to run on all versions of Panther, down to 10.3.0. (Part of its function is to make sure the user is up-to-date on point releases.) To compile a universal binary, you need to use gcc 4.0, and in order to run applications compiled with gcc 4.0, you must be running 10.3.9.
How's that work for you? :)
This is not actually true. You can compile for ppc with gcc-3.3 and for intel with gcc-4.0 and then lipo the results together. I believe that there are xcode settings to do all this for you (but I don't actually use xcode all that much...) I am not aware of any differences in dlsym() behavior on intel and ppc. Peter _______________________________________________ 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 signature.asc
participants (1)
-
Peter O'Gorman