From: Bernard D. <bde...@ea...> - 2005-12-05 15:20:08
|
Hi all, I'm confused with the new GNUmakefile in /tcl/macosx and all this build system (to tell the truth, I was confused with the previous one as well). I have several questions and would be grateful if somebody could shed some light on this: Question 1: What is the recommended way of building a private framework, i-e a framework in which the Tcl dylib would contain @executable_path/../Frameworks/Tcl.framework/Versions/8.5/Tcl instead of /Library/Frameworks/Tcl.framework/Versions/8.5/Tcl Currently what I'm doing is make -C tcl${ver}/macosx deploy DYLIB_INSTALL_DIR=@executable_path/../Frameworks This sort of works but the "make" command fails when it comes to this point Finalizing Tcl.framework Installing time zone data dyld: Library not loaded: @executable_path/../Frameworks/Tcl Referenced from: /Volumes/im2/Tcl/Tcl_Sources/TclTk_HEAD/build/tcl/Deployment/./tclsh Reason: image not found This is normal but I think I'm not using the right incantation of make (since, in the given situation, I'm not interested in building tclsh, I just want the Tcl framework). Question 2: Notwithstanding the error above I get a Tcl framework as I want. The only thing which worries me is that 'otool -L' reports @executable_path/../Frameworks/Tcl (compatibility version 8.5.0, current version 8.5.0) Shouldn't that be @executable_path/../Frameworks/Tcl.framework/Versions/8.5/Tcl ? Question 3: in which circumstances do we have to use the "embedded" target, something like make -C tcl${ver}/macosx embedded ? TIA Bernard |