Update the "README.win32" file to reflect Andrew Feren's changes to use

Python iff PYTHON is defined in "config.nmake".

svn path=/trunk/; revision=4859
This commit is contained in:
Guy Harris 2002-03-04 01:26:40 +00:00
parent 7d0a912f9f
commit 90446d2969
1 changed files with 12 additions and 12 deletions

View File

@ -1,4 +1,4 @@
$Id: README.win32,v 1.30 2001/12/19 19:16:11 guy Exp $ $Id: README.win32,v 1.31 2002/03/04 01:26:40 guy Exp $
Installing Ethereal, Tethereal, and Editcap on Win32 Installing Ethereal, Tethereal, and Editcap on Win32
==================================================== ====================================================
@ -159,9 +159,11 @@ The file will probably be called "ucd-snmp-X.X-x86-win32.zip", where
Instructions for MS Visual C Instructions for MS Visual C
---------------------------- ----------------------------
Modify the config.nmake file in the top directory of the Ethereal Modify the config.nmake file in the top directory of the Ethereal source
source tree to work for your local configuration. You should not tree to work for your local configuration; if you don't have Python,
have to modify any other Makefile. comment out the line that defines PYTHON, otherwise set it to refer to
the pathname of your Python interpreter executable. You should not have
to modify any other Makefile.
In order to compile, at least with the default settings, you In order to compile, at least with the default settings, you
also need zlib, which is provided as an archive library, not also need zlib, which is provided as an archive library, not
@ -211,14 +213,12 @@ make-reg-dotc, packet*.c register.c Bash + grep + sed
or or
make-reg-dotc.py, packet*.c register.c Python make-reg-dotc.py, packet*.c register.c Python
The Makefile.nmake supplied with the Ethereal distribution will The Makefile.nmake supplied with the Ethereal distribution will, if
attempt to make register.c with Python, since it is much much much PYTHON is defined in config.nmake, attempt to make register.c with
faster than the shell version. The reason it is faster is because Python, since it is much much much faster than the shell version. The
the shell version launches multiple processes (grep, sed) for each reason it is faster is because the shell version launches multiple
source file, multiple times. The Python script is one process. This processes (grep, sed) for each source file, multiple times. The Python
matters a lot on Win32. If for some reason you want to build register.c script is one process. This matters a lot on Win32.
with the shell script, uncomment out the action line for the register.c
target in Makefile.nmake.
If you have a Unix system handy, you can first build on Unix to create If you have a Unix system handy, you can first build on Unix to create
most of the source files that these tools make, then run the build on most of the source files that these tools make, then run the build on