1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 21:19:24 +00:00

Modernize README.woe32.

This commit is contained in:
Bruno Haible
2010-03-31 03:23:57 +02:00
parent 5860266d3b
commit 84503392b0
2 changed files with 48 additions and 20 deletions

View File

@@ -1,3 +1,8 @@
2010-03-30 Bruno Haible <bruno@clisp.org>
Modernize README.woe32.
* README.woe32: Mention the mingw and Cygwin environments.
2009-12-22 Eric Blake <ebb9@byu.net> (tiny change) 2009-12-22 Eric Blake <ebb9@byu.net> (tiny change)
Avoid gcc warnings on Cygwin. Avoid gcc warnings on Cygwin.

View File

@@ -1,6 +1,27 @@
Installation on Woe32 (WinNT/2000/XP, Win95/98/ME): Installation on Woe32 (WinNT/2000/XP/Vista/7, Win95/98/ME):
- Requires MS Visual C/C++ 4.0 or 5.0 or 6.0 or 7.0. There are three ways to create binaries of this package for Woe32:
1) Native binaries, built using the mingw tool chain.
I recommend to use the cygwin environment as the development environment
and mingw only as the target (runtime, deployment) environment.
For this, you need to install
- cygwin,
- the mingw runtime package, also from the cygwin site.
Building for mingw is achieved through the following preparation
and configure commands:
PATH=/usr/local/mingw/bin:$PATH
export PATH
./configure --host=i586-pc-mingw32 --prefix=/usr/local/mingw \
CC="gcc-3 -mno-cygwin" \
CXX="g++-3 -mno-cygwin"
2) Native binaries, built using the MS Visual C/C++ tool chain.
- Requires MS Visual C/C++ 4.0 or 5.0 or 6.0 or 7.0.
Note that binaries created with MSVC 7.0 should not be distributed: They Note that binaries created with MSVC 7.0 should not be distributed: They
depend on a closed-source library 'msvcr70.dll' which is not normally part depend on a closed-source library 'msvcr70.dll' which is not normally part
@@ -11,9 +32,9 @@ Installation on Woe32 (WinNT/2000/XP, Win95/98/ME):
Therefore it is not recommended. This problem does not occur with MSVC 6.0 Therefore it is not recommended. This problem does not occur with MSVC 6.0
and earlier. and earlier.
- Cannot build in a separate directory. - Cannot build in a separate directory.
- Build instructions: - Build instructions:
Make sure that the MSVC4.0 or MSVC5.0 or MSVC6.0 or MSVC7.0 utilities Make sure that the MSVC4.0 or MSVC5.0 or MSVC6.0 or MSVC7.0 utilities
("cl" etc.) are found in PATH. In a typical MSVC6.0 installation, this ("cl" etc.) are found in PATH. In a typical MSVC6.0 installation, this
@@ -21,10 +42,9 @@ Installation on Woe32 (WinNT/2000/XP, Win95/98/ME):
C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat
In a typical MSVC7.0 installation, it can be achieved by running In a typical MSVC7.0 installation, it can be achieved by running
C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat
nmake -f Makefile.msvc nmake -f Makefile.msvc
- Installation: - Installation:
Either: Either:
@@ -33,3 +53,6 @@ Installation on Woe32 (WinNT/2000/XP, Win95/98/ME):
Or: Or:
nmake -f Makefile.msvc install prefix=InstallBaseDirectory nmake -f Makefile.msvc install prefix=InstallBaseDirectory
3) Binaries for the Cygwin environment. For these, please see the normal
INSTALL file.