Fix bakefile presets and MSVC-specific setup.h.
Also document TARGET_CPU=X64 instead of AMD64.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71979
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
<set var="WXCPU">
<if cond="FORMAT=='msevc4prj'">_$(CPU)</if>
<set var="WXCPU">
<if cond="FORMAT=='msevc4prj'">_$(CPU)</if>
- <if cond="FORMAT_SUPPORTS_MULTIPLE_ARCHITECTURES=='1' and TARGET_CPU=='AMD64'">_amd64</if>
+ <if cond="FORMAT_SUPPORTS_MULTIPLE_ARCHITECTURES=='1' and TARGET_CPU=='AMD64'">_x64</if>
<if cond="FORMAT_SUPPORTS_MULTIPLE_ARCHITECTURES=='1' and TARGET_CPU=='IA64'">_ia64</if>
</set>
<if cond="FORMAT_SUPPORTS_MULTIPLE_ARCHITECTURES=='1' and TARGET_CPU=='IA64'">_ia64</if>
</set>
1. Open a 64-bit build command prompt, for either x64 or Itanium. Change
directory to build\msw. Then for x64 type:
1. Open a 64-bit build command prompt, for either x64 or Itanium. Change
directory to build\msw. Then for x64 type:
- nmake -f makefile.vc TARGET_CPU=AMD64
+ nmake -f makefile.vc TARGET_CPU=X64
2. Change to the directory of one of the samples such as samples\minimal. Type
the same command used to build the main library, for example for x64:
2. Change to the directory of one of the samples such as samples\minimal. Type
the same command used to build the main library, for example for x64:
- nmake -f makefile.vc TARGET_CPU=AMD64
+ nmake -f makefile.vc TARGET_CPU=X64
If you receive this error add bufferoverflowu.lib to link, e.g.:
If you receive this error add bufferoverflowu.lib to link, e.g.:
- nmake -f makefile.vc TARGET_CPU=AMD64 LDFLAGS=bufferoverflowu.lib
+ nmake -f makefile.vc TARGET_CPU=X64 LDFLAGS=bufferoverflowu.lib
See http://support.microsoft.com/?id=894573 for more information.
See http://support.microsoft.com/?id=894573 for more information.
omitted or set to 'default' its value is determined the value of
the BUILD option.
omitted or set to 'default' its value is determined the value of
the BUILD option.
(VC++ only.) Set this variable to build for x86_64 systems. If unset, x86
build is performed.
(VC++ only.) Set this variable to build for x86_64 systems. If unset, x86
build is performed.
// architecture-specific part: not used (again, for compatibility), for x86
#if defined(_M_X64)
// architecture-specific part: not used (again, for compatibility), for x86
#if defined(_M_X64)
- #define wxARCH_SUFFIX _amd64
+ #define wxARCH_SUFFIX _x64
#elif defined(_M_IA64)
#define wxARCH_SUFFIX _ia64
#else // assume _M_IX86
#elif defined(_M_IA64)
#define wxARCH_SUFFIX _ia64
#else // assume _M_IX86