Readme_Mac_Compiling====================This folder contains the CodeWarrior (CW Pro8) project files to compile thetDOM and tnc extensions. These files are in XML format to ensure theirportability. To recreate the projects, you must launch CodeWarrior andchoose the "Import Project..." command in the File menu:- tDOM.prj.xml contains targets to build tDOM and tnc as CFM sharedlibraries (shlibs) for MacOS classic (system 8 or 9): ¥ Expat static lib ¥ tDOM stublib ¥ tDOM shlib ¥ Tnc shlib- tDOM_OSX.prj.xml contains targets to build tDOM and tnc as Mach-O dynamiclibraries (dylibs) for MacOSX: ¥ Precomp ¥ Expat Mach-O static ¥ tDOM stubs ¥ tDOM dylib ¥ Tnc dylibTo build these extensions, you need the TclStub.lib stubs library comingwith Tcl 8.4 for the classic project and the Tcl.framework framework forthe OSX project. You also need to have the Expat sources in the "expat"folder (http://expat.sourceforge.net/). There is a target in both projectsto build Expat as a static library.The only thing to do, before starting the Make process, is to check thatthe access paths are set correctly for your installation. All the paths arerelative: if you have a standard installation, you should just have to setthe {TclTk} source tree to point to your Tcl/Tk sources folder. This isdone in the "Source Trees Setting Panel": there is already a {TclTk} sourcetree defined there, just let it point to the right location. Note also thatthe OSX project file has a target to build a precompiled header: thisprecompiled header contains a minimal set of Mac headers to work around aproblem due to a conflicting symbol name "Pattern" defined both in tDOM andin QuickDraw.h.Both extensions should now build out of the box provided you "make" thetargets in the order. The targets have been made interdependant anyway.You can also find already compiled binaries on my web page:<http://webperso.easyconnect.fr/bdesgraupes/tcl.html>Bernard Desgraupes<bdesgraupes@easyconnect.fr>Last modification: 2003-02-28 06:51:51
