Changeset 1993 in kBuild for trunk/src/kmk/README.W32.template
- Timestamp:
- Oct 29, 2008 12:37:51 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/README.W32.template
r903 r1993 2 2 It has also been used on Windows 95/98/NT, and on OS/2. 3 3 4 It builds natively with MSVC 2.x, 4.x, 5.x, 6.x, and 2003 as well as5 .NET 7.x and .NET 2003. 6 7 It builds with the MinGW port of GCC 3.x (tested with GCC 3.4.2).4 It builds with the MinGW port of GCC (tested with GCC 3.4.2). 5 6 It also builds with MSVC 2.x, 4.x, 5.x, 6.x, and 2003 as well as 7 with .NET 7.x and .NET 2003. 8 8 9 9 The Windows 32-bit port of GNU make is maintained jointly by various … … 28 28 29 29 2. Open make_msvc_net2003.vcproj in MSVS71 or MSVC71 or any compatible IDE, 30 then build this project as usual. 30 then build this project as usual. There's also a solution file for 31 Studio 2003. 31 32 32 33 … … 69 70 70 71 This version of make is ported natively to Windows32 platforms 71 (Windows NT 3.51, Windows NT 4.0, Windows 95, and Windows 98). It 72 does not rely on any 3rd party software or add-on packages for 73 building. The only thing needed is a version of Visual C++, 74 which is the predominant compiler used on Windows32 platforms. 72 (Windows NT 3.51, Windows NT 4.0, Windows 2000, Windows XP, 73 Windows 95, and Windows 98). It does not rely on any 3rd party 74 software or add-on packages for building. The only thing 75 needed is a Windows compiler. Two compilers supported 76 officially are the MinGW port of GNU GCC, and the various 77 versions of the Microsoft C compiler. 75 78 76 79 Do not confuse this port of GNU make with other Windows32 projects … … 80 83 GNU make and sh.exe: 81 84 82 This port prefers you have a working sh.exe somewhere on your83 system. If you don't have sh.exe, the port falls back to84 MSDOS mode for launching programs (via a batch file). 85 The MSDOS mode style execution has not been tested that86 carefullythough (The author uses GNU bash as sh.exe).85 This port prefers if you have a working sh.exe somewhere on 86 your system. If you don't have sh.exe, the port falls back to 87 MSDOS mode for launching programs (via a batch file). The 88 MSDOS mode style execution has not been tested that carefully 89 though (The author uses GNU bash as sh.exe). 87 90 88 91 There are very few true ports of Bourne shell for NT right now. … … 109 112 A native Windows32 system with no Bourne shell will also run 110 113 in batch mode. All command lines will be put into batch files 111 and executed via $(COMSPEC) (%COMSPEC%). Note that parallel 112 builds (-j) require a working Bourne shell; they will not work 113 with COM. 114 and executed via $(COMSPEC) (%COMSPEC%). However, parallel 115 builds ARE supported with Windows shells (cmd.exe and 116 command.com). See the next section about some peculiarities 117 of parallel builds on Windows. 118 119 Support for parallel builds 120 121 Parallel builds (-jN) are supported in this port, with 2 122 limitations: 123 124 - The number of concurrent processes has a hard limit of 64, 125 due to the way this port implements waiting for its 126 subprocesses; 127 128 - The job server method (available when Make runs on Posix 129 platforms) is not supported, which means you must pass an 130 explicit -jN switch to sub-Make's in a recursive Makefile. 131 If a sub-Make does not receive an explicit -jN switch, it 132 will default to -j1, i.e. no parallelism in sub-Make's. 114 133 115 134 GNU make and Cygnus GNU Windows32 tools: … … 172 191 sh.exe. Tests were performed on both Windows NT and Windows 95. 173 192 174 Building GNU make on Windows NT and Windows 95/98 with Microsoft Visual C:175 176 I did not provide a Visual C project file with this port as177 the project file would not be considered freely distributable178 (or so I think). It is easy enough to create one, though, if179 you know how to use Visual C.180 181 I build the program statically to avoid problems locating DLL's182 on machines that may not have MSVC runtime installed. If you183 prefer, you can change make to build with shared libraries by184 changing /MT to /MD in the NMakefile (or in build_w32.bat).185 186 The program has not been built for non-Intel architectures (yet).187 188 I have not tried to build with any other compilers than MSVC. I189 have heard that this is possible though so don't be afraid to190 notify me of your successes!191 192 193 Pathnames and white space: 193 194 194 195 Unlike Unix, Windows 95/NT systems encourage pathnames which 195 196 contain white space (e.g. C:\Program Files\). These sorts of 196 pathnames are legal underUnix too, but are never encouraged.197 pathnames are valid on Unix too, but are never encouraged. 197 198 There is at least one place in make (VPATH/vpath handling) where 198 199 paths containing white space will simply not work. There may be … … 274 275 ------------------------------------------------------------------------------- 275 276 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 276 2006 Free Software Foundation, Inc.277 2006, 2007, 2008 Free Software Foundation, Inc. 277 278 This file is part of GNU Make. 278 279 279 280 GNU Make is free software; you can redistribute it and/or modify it under the 280 281 terms of the GNU General Public License as published by the Free Software 281 Foundation; either version 2, or (at your option) any later version. 282 Foundation; either version 3 of the License, or (at your option) any later 283 version. 282 284 283 285 GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY … … 286 288 287 289 You should have received a copy of the GNU General Public License along with 288 GNU Make; see the file COPYING. If not, write to the Free Software 289 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 290 this program. If not, see <http://www.gnu.org/licenses/>.
Note:
See TracChangeset
for help on using the changeset viewer.