How to link against an older dylib in a framework?
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Internet Messaging Program (IMP) 3.1 Hi- I'm not sure darwin-dev is the right place for this (it might also fit on Cocoa-dev, unix-porting, and perhaps elsewhere); let me know if another forum would be better. I'd like to know how to link against the older version of a framework provided by Apple in System/Library/Frameworks/, i.e., what gcc/ld options or flags to use. Details: I'm installing a new (public framework) version of Python on a 10.6 system. Its tkinter package provides access to Tcl/Tk. An unfortunate coincidence of Python and Tk bugs in Tcl/Tk 8.5 prevents tkinter apps from working properly. However, indications are that Tcl/Tk 8.4 should work fine (e.g., all works fine built against 8.4 on 10.5). Apple provides both 8.4 and 8.5 in the Tcl and Tk frameworks, with "Current" symlinked to 8.5. When Python's tkinter extension gets built, what should be done to get it to use the 8.4 dylibs? Is it just a matter of putting full paths to the 8.4 dylibs as arguments for gcc? Or should I be using ld's -install_name option to specify a version switch? If the latter, what exactly should the install_name be (the path to the top of the framework, or through "Current" to the specific current version)? Thanks for any advice, Tom ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ _______________________________________________ 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
participants (1)
-
Tom Loredo