Using the command line, I'm trying to compile a program and link it to a library which was created with the 32-bit version of Intel's cpp compiler (I don't have access to the source code of that library). The generated program should be a 32bit Windows executable
icl /Qlong-double /Qpc80 /fp:extended test.cpp /link /MACHINE:X86 SomeX86lib.lib
But I get this message:
fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
What are the right options to pass?