annotate host/tools/configtool/standalone/win32/ReadMe @ 290:3ecf91f6663a

Update instructions for building the host-side software
author bartv
date Tue, 13 Aug 2002 20:10:16 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
290
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
1 Building the VC++ Windows Configuration Tool
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
2 ============================================
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
3
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
4 NOTE: this tool is no longer supported. Users wanting a graphical
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
5 configuration tool under Windows should instead consider the
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
6 wxWindows-based tool, ../wxwin/ReadMe.
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
7
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
8 The graphical configuration tool can be built using a Developer Studio
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
9 project, tools/ecosconfig/standalone/win32/Configtool.dsw
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
10 Even if building the host tools from Visual Studio, it is still
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
11 necessary to install Cygwin and Tcl 8.x. Additionally, there is a
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
12 dependency on either the Microsoft Platform SDK or the Microsoft HTML
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
13 Help Workshop. The latter is available at:
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
14 http://msdn.microsoft.com/library/tools/htmlhelp/wkshp/download.htm
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
15
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
16 To prepare the machine for the build, it is necessary to:
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
17
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
18 1) Set the TCLHOME environment variable to the root of the Tcl
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
19 installation. (For example, TCLHOME=C:\tcl) This can be set from the
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
20 Enviroment Variables dialog on the Advanced tab of the System
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
21 Properties dialog.
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
22
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
23 2) It is also necessary to add several directories to Visual Studio's
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
24 default file search paths. This is set from the Directories tab in the
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
25 Options menu.
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
26
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
27 The following entries will need to be added (full paths are shown for
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
28 clarity, the actual path may be different):
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
29
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
30 a) Executable Files
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
31 c:\cygwin\bin
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
32 b) Include Files
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
33 c:\tcl\include
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
34 c:\program files\microsoft platform sdk\include _OR_
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
35 c:\program files\html help workshop\include
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
36 c) Library Files
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
37 c:\tcl\lib
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
38 c:\program files\microsoft platform sdk\lib _OR_
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
39 c:\program files\html help workshop\lib
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
40
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
41 3) The build process as setup by default in the sources available from
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
42 CVS is setup to build the host tools on the DOS v:\ drive. If this
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
43 drive doesn't exist, it may be preferable to do a "subst v:\ c:\temp"
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
44 command from a Windows command shell. This will effectively create a
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
45 virtual disk which is located at c:\temp, and the build process will
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
46 place all intermediate and build files in this location.
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
47 (Alternatively, it is possible to go through the project settings in
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
48 Visual Studio and adjust the drive letters manually.)
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
49
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
50 4) If you have installed a version of Tcl other than version 8.2, it
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
51 will be necessary to change the names of libraries linked with the
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
52 projects. This can be done by:
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
53
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
54 a) Selecting "Settings..." on the ChangeLog file in the cdl project in
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
55 the Configtool workspace, you will see the custom build step for the
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
56 project. At the end of the first line of the custom build step, there
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
57 is an option --with-tcl_version=82. Change this value (82) to
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
58 correspond to the version of Tcl installed on the machine.
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
59
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
60 b) Selecting "Settings..." on the Configtool project in the workspace,
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
61 you should go to the Link tab in the right-hand pane. In this pane you
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
62 will see a line listing all the Libraries with which the project is
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
63 being linked. Change the tcl82.lib entry to the name appropriate for
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
64 the version of Tcl installed.
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
65
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
66 (NOTE: These settings must be applied to all configurations you intend
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
67 to build separately. The eCos host tools as shipped by RedHat were
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
68 built using the "Win32 ANSI Release" Configuration. If you build the
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
69 "Win32 Release" Configuration, you will also need to have the Unicode
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
70 version of the MFC libraries and DLLs.)
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
71
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
72 5) Click "Build... (F7)". The compiled binaries will be located in the
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
73 Configtool folder on the V:\ drive.
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
74
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
75
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
76 NOTES:
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
77
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
78 1) When using WinCVS, make sure to use the default Windows mode to get
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
79 the tools. Using UNIX mode will break the Visual Studio project files
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
80 and you won't be able to open them. (It is preferable, in general, to
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
81 use Windows mode for all eCos files.)
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
82
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
83 2) There will be many warnings related to STL header compilation.
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
84 These are benign. There are also some warnings related to missing help
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
85 files at the beginning of the Configtool project compilation. These
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
86 can also be ignored.
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
87
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
88 3) To build the other Win32 projects in the host tools, it may be
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
89 necessary to repeat step 4.b) above. (Again, this depends on which
3ecf91f6663a Update instructions for building the host-side software
bartv
parents:
diff changeset
90 version of Tcl is in use.)