From db01789373141914d6f09e7e57f799cda11f0f29 Mon Sep 17 00:00:00 2001 From: dos Date: Mon, 13 Jul 2020 13:28:53 -0300 Subject: [PATCH] Add TARGET_CPU requirement for x86 DLL build. --- docs/msw/install.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/msw/install.md b/docs/msw/install.md index 1c70494833..eef51a59b7 100644 --- a/docs/msw/install.md +++ b/docs/msw/install.md @@ -84,11 +84,13 @@ Microsoft Visual C++ Compilation {#msw_build_msvs} to build a release version or - > nmake /f makefile.vc BUILD=release SHARED=1 + > nmake /f makefile.vc BUILD=release SHARED=1 TARGET_CPU=X86 - to build a release DLL version. Finally, you can also add - `TARGET_CPU=X64` to nmake command line to build Win64 versions - (this only works if you are using a 64 bit compiler, of course). + to build a 32 bit release DLL version from an x86 command prompt, or + + > nmake /f makefile.vc BUILD=release SHARED=1 TARGET_CPU=X64 + + to build a 64 bit release DLL version from an x64 command prompt. See "Configuring the Build" for more information about the additional parameters that can be specified on the command line.