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: Linking Problem with 10.3.9 sdk




On Feb 1, 2006, at 4:05 PM, Sarah Carruthers wrote:

I recompiled zlib and libpng with gcc 4.0, and successfully built and linked my plugin with the 10.3.9sdk.  However, my plugin (a vst audio plugin) now fails to load.  As an experiment, I tried building it against the 10.2 sdk using gcc 3.3 (and zlib and libpng that are also built with gcc 3.3).  And it loads successfully.

Is it possible that somehow the entry point of my plugin is being mangled when built with gcc 4.0?


You can't deploy to Mac OS X 10.2.8 (or anything earlier than 10.3.9) if you build with gcc 4.0.  If you want to deploy to 10.2.8, you have to build with gcc3.3 and either the 10.3.9 SDK or the 10.2.8 one.  If building with the 10.3.9 SDK, you may need to specifically link against the 10.2.8 versions of certain libraries like zlib, because they don't support the automatic weak linking features that Carbon and Cocoa do.

Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >Re: Linking Problem with 10.3.9 sdk (From: "E. Wing" <email@hidden>)
 >Re: Linking Problem with 10.3.9 sdk (From: Sarah Carruthers <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.