![]() | Win32 Note! |
---|---|
Although some effort is made to use make from the Cygwin environment, the mainline is still using Microsoft Visual Studio's nmake. |
GNU Make is available for most of the UNIX-like platforms and also as the make package from the Cygwin setup.
If GNU Make isn't already installed and also not available as a package for your platform, you can get it at: http://www.gnu.org/software/make/.
After correct installation, typing inside the bash:
$
make --version
should result in something like:
GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
However, the version string may vary.
nmake is part of the Microsoft Visual Studio suite, see comment above.
Instead of using the the workspace (.dsw) and projects (.dsp) files, the traditional nmake makefiles are used. This has one main reason: it makes it much easier to maintain changes simultaneous with the GCC toolchain makefile.am files as both file formats are similar. However, as no Visual Studio workspace/project files are available, this makes it hard to use the Visual Studio IDE e.g. for using the integrated debugging feature.
After correct installation, typing inside the command line (cmd.exe):
>
nmake
should result in something like:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. NMAKE : fatal error U1064: MAKEFILE not found and no target specified Stop.
However, the version string may vary.
![]() | Warning! |
---|---|
It is recommended to use the Microsoft Visual Studio version 6 to compile Ethereal for Win32, see Section 2.5, “C compiler”. Don't follow the instructions in this section, until you now what you are doing. |
NMAKE 1.5 can be downloaded from Microsoft.com if you search for "KB132084". Unpack the archive by running it, and drop the 3 extracted files in the MSVC++ Toolkit "bin" directory.
You will also need win32.mak
, which you can get from
the MS Win Platform SDK by browsing to http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
where you select the "Core SDK" and only tick the "Build Environment"
(31MB) option. After a while, this SDK will be installed.
From the start menu, choose "Programs" -> "Microsoft Platform SDK February 2003" -> "Open build environment window" -> (choose your OS Win2K/WinXP/Win2003)