简体   繁体   中英

Linker -> Advanced -> Target Machine

This question was asked before , but there is no answer yet, so i will try to recap it.

在此处输入图片说明

So here is the Problem, i realized on one project, tat the Platform was choosen to be "Win32" but under "Linker > Advanced -> TargetMachine" i had "MachineX64(/MACHINE.x64)

So what is the purpose oft his option? In which case is this option usefull and what happens when i choosen Plattform:Win32 and change the TargetMachine Setting to X64?

It won´t work. The linker gets 32bit file from the compiler
but is told to process/make 64bit stuff => Error. Just try it.

The main reason is that in some cases the linker can´t determine
the correct setting from the compiler output.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM