Intel C/C++ linker using MinGW library
Can Intel linker on Windows use a static library compiled by MinGW? Are they binary compatible? On Wikipedia and in one "White paper", they say on Linux yes, but what about Window开发者_Go百科s and the newest ICC and MinGW?
I've been able to link MSVC under Pelles C both static and dynamically.
The Intel compiler on windows actually does not provide its own CRT library, instead relying on the MSVC one, i've not tried it but MinGW tool kit SHOULD be binary compatible as long as there's no GCC extensions used in the headers.
I'd suggest you just try it, i'm going to see how fesable it is to do myself(don't want to break VS) and get back to you.
I think the Intel compiler uses the same format as MSVC, so it would be worth trying this.
However I don't have the Intel compiler so I can't test it.
It's hard to static link, because mingw lib use itself CRT/math wrapper. You can try to use a dynamic dll instead.
精彩评论