<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>
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
or for Itanium:
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
Notes:
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.
omitted or set to 'default' its value is determined the value of
the BUILD option.
-TARGET_CPU=AMD64|IA64
+TARGET_CPU=X64|IA64
(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)
- #define wxARCH_SUFFIX _amd64
+ #define wxARCH_SUFFIX _x64
#elif defined(_M_IA64)
#define wxARCH_SUFFIX _ia64
#else // assume _M_IX86