📄 readme
字号:
Building the VC++ Windows Configuration Tool ============================================NOTE: this tool is no longer supported. Users wanting a graphicalconfiguration tool under Windows should instead consider thewxWindows-based tool, ../wxwin/ReadMe.The graphical configuration tool can be built using a Developer Studioproject, tools/ecosconfig/standalone/win32/Configtool.dswEven if building the host tools from Visual Studio, it is stillnecessary to install Cygwin and Tcl 8.x. Additionally, there is adependency on either the Microsoft Platform SDK or the Microsoft HTMLHelp Workshop. The latter is available at:http://msdn.microsoft.com/library/tools/htmlhelp/wkshp/download.htmTo prepare the machine for the build, it is necessary to:1) Set the TCLHOME environment variable to the root of the Tclinstallation. (For example, TCLHOME=C:\tcl) This can be set from theEnviroment Variables dialog on the Advanced tab of the SystemProperties dialog.2) It is also necessary to add several directories to Visual Studio'sdefault file search paths. This is set from the Directories tab in theOptions menu.The following entries will need to be added (full paths are shown forclarity, the actual path may be different): a) Executable Files c:\cygwin\bin b) Include Files c:\tcl\include c:\program files\microsoft platform sdk\include _OR_ c:\program files\html help workshop\include c) Library Files c:\tcl\lib c:\program files\microsoft platform sdk\lib _OR_ c:\program files\html help workshop\lib3) The build process as setup by default in the sources available fromCVS is setup to build the host tools on the DOS v:\ drive. If thisdrive doesn't exist, it may be preferable to do a "subst v:\ c:\temp"command from a Windows command shell. This will effectively create avirtual disk which is located at c:\temp, and the build process willplace all intermediate and build files in this location.(Alternatively, it is possible to go through the project settings inVisual Studio and adjust the drive letters manually.)4) If you have installed a version of Tcl other than version 8.2, itwill be necessary to change the names of libraries linked with theprojects. This can be done by:a) Selecting "Settings..." on the ChangeLog file in the cdl project inthe Configtool workspace, you will see the custom build step for theproject. At the end of the first line of the custom build step, thereis an option --with-tcl_version=82. Change this value (82) tocorrespond to the version of Tcl installed on the machine.b) Selecting "Settings..." on the Configtool project in the workspace,you should go to the Link tab in the right-hand pane. In this pane youwill see a line listing all the Libraries with which the project isbeing linked. Change the tcl82.lib entry to the name appropriate forthe version of Tcl installed.(NOTE: These settings must be applied to all configurations you intendto build separately. The eCos host tools as shipped by RedHat werebuilt using the "Win32 ANSI Release" Configuration. If you build the"Win32 Release" Configuration, you will also need to have the Unicodeversion of the MFC libraries and DLLs.)5) Click "Build... (F7)". The compiled binaries will be located in theConfigtool folder on the V:\ drive.NOTES:1) When using WinCVS, make sure to use the default Windows mode to getthe tools. Using UNIX mode will break the Visual Studio project filesand you won't be able to open them. (It is preferable, in general, touse Windows mode for all eCos files.)2) There will be many warnings related to STL header compilation.These are benign. There are also some warnings related to missing helpfiles at the beginning of the Configtool project compilation. Thesecan also be ignored.3) To build the other Win32 projects in the host tools, it may benecessary to repeat step 4.b) above. (Again, this depends on whichversion of Tcl is in use.)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -