Ticket #10711 (closed defect: fixed)
Wrong linker option in makefile.vc
| Reported by: | rk | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | build | Version: | 2.9-svn |
| Keywords: | Cc: | ||
| Blocked By: | Patch: | no | |
| Blocking: |
Description
If you build wxWidgets using nmake and specifying TARGET_CPU=AMD64 to build the 64-bit version the variable LINK_TARGET_CPU in makefile.vc will be set to /MACHINE:AMD64. But according to MSDN the only allowed values for the /MACHINE option are:
ARM|EBC|IA64|MIPS|MIPS16|MIPSFPU|MIPSFPU16|SH4|THUMB|X64|X86
The correct value for LINK_TARGET_CPU should therefor be /MACHINE:X64 instead of /MACHINE:AMD64.
I don't know what this wrong value currently does. I only caught it by accident while looking into another problem.
Change History
Note: See
TracTickets for help on using
tickets.
