Recommend using MFLAGS=-MD everywhere; needed for using libiconv's DLL.
Remove the warning against building gettext-tools with DLLs.
can be achieved by running
C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat
In a typical MSVC7.0 installation, it can be achieved by running
- C:\Program Files\Microsoft Visual Studio .NET\VC7\bin\vcvars32.bat
+ C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat
Decide which compilation model you will use:
MFLAGS=-ML (the default) Single-threaded, statically linked - libc.lib
For shared library (DLL):
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD
- (NOTE: This does not work yet! Only the gettext-runtime subpackage
- can be compiled for DLL; the gettext-tools subpackage cannot!)
For static library:
- nmake -f Makefile.msvc
+ nmake -f Makefile.msvc MFLAGS=-MD
If you want to build both the shared and static library, you have to
unpack the gettext sources twice in different directories. Don't mix
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD install
or
- nmake -f Makefile.msvc install
+ nmake -f Makefile.msvc MFLAGS=-MD install
- Installation:
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD install PREFIX=InstallBaseDirectory
or
- nmake -f Makefile.msvc install PREFIX=InstallBaseDirectory
+ nmake -f Makefile.msvc MFLAGS=-MD install PREFIX=InstallBaseDirectory
By default, the compiled package is installed under c:\usr. You can
specify a different directory by giving the installation base directory
can be achieved by running
C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat
In a typical MSVC7.0 installation, it can be achieved by running
- C:\Program Files\Microsoft Visual Studio .NET\VC7\bin\vcvars32.bat
+ C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat
Decide which compilation model you will use:
MFLAGS=-ML (the default) Single-threaded, statically linked - libc.lib
For static library:
- nmake -f Makefile.msvc
+ nmake -f Makefile.msvc MFLAGS=-MD
If you want to build both the shared and static library, you have to
unpack the gettext sources twice in different directories. Don't mix
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD install PREFIX=InstallBaseDirectory
or
- nmake -f Makefile.msvc install PREFIX=InstallBaseDirectory
+ nmake -f Makefile.msvc MFLAGS=-MD install PREFIX=InstallBaseDirectory
can be achieved by running
C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat
In a typical MSVC7.0 installation, it can be achieved by running
- C:\Program Files\Microsoft Visual Studio .NET\VC7\bin\vcvars32.bat
+ C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat
Decide which compilation model you will use:
MFLAGS=-ML (the default) Single-threaded, statically linked - libc.lib
For static library:
- nmake -f Makefile.msvc
+ nmake -f Makefile.msvc MFLAGS=-MD
If you want to build both the shared and static library, you have to
unpack the gettext sources twice in different directories. Don't mix
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD install PREFIX=InstallBaseDirectory
or
- nmake -f Makefile.msvc install PREFIX=InstallBaseDirectory
+ nmake -f Makefile.msvc MFLAGS=-MD install PREFIX=InstallBaseDirectory
can be achieved by running
C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat
In a typical MSVC7.0 installation, it can be achieved by running
- C:\Program Files\Microsoft Visual Studio .NET\VC7\bin\vcvars32.bat
+ C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat
Decide which compilation model you will use:
MFLAGS=-ML (the default) Single-threaded, statically linked - libc.lib
For static library:
- nmake -f Makefile.msvc
+ nmake -f Makefile.msvc MFLAGS=-MD
If you want to build both the shared and static library, you have to
unpack the gettext sources twice in different directories. Don't mix
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD install PREFIX=InstallBaseDirectory
or
- nmake -f Makefile.msvc install PREFIX=InstallBaseDirectory
+ nmake -f Makefile.msvc MFLAGS=-MD install PREFIX=InstallBaseDirectory
can be achieved by running
C:\Program Files\Microsoft Visual Studio\VC98\bin\vcvars32.bat
In a typical MSVC7.0 installation, it can be achieved by running
- C:\Program Files\Microsoft Visual Studio .NET\VC7\bin\vcvars32.bat
+ C:\Program Files\Microsoft Visual Studio .NET\Common7\Tools\vsvars32.bat
Decide which compilation model you will use:
MFLAGS=-ML (the default) Single-threaded, statically linked - libc.lib
For shared library (DLL):
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD
- (NOTE: This does not work yet!)
For static library:
- nmake -f Makefile.msvc
+ nmake -f Makefile.msvc MFLAGS=-MD
If you want to build both the shared and static library, you have to
unpack the gettext sources twice in different directories. Don't mix
nmake -f Makefile.msvc DLL=1 MFLAGS=-MD install PREFIX=InstallBaseDirectory
or
- nmake -f Makefile.msvc install PREFIX=InstallBaseDirectory
+ nmake -f Makefile.msvc MFLAGS=-MD install PREFIX=InstallBaseDirectory