This is not a practical opportunity.
The intelligent compiler (icl) will do nothing but moan if it cannot find the VC ++ binaries in PATH , so you know that it needs the VC ++ toolchain at least.
Then, to understand what you are facing with respect to gcc headers, you should do the following:
- Make icl suppress your own predefined macros.
- Use predefined gcc macros.
- Make him crush his standard, including search.
- Use gcc standard includes search.
Nothing complicated, and when you did all this and tried to build your HelloWorld.cpp , the errors will show you that the gcc headers abound with the built-in gcc compiler keywords that are unknown icl: __builtin_va_list , __attribute__ , __cdecl__ , __nothrow__ , etc.
You can try to successfully delete or redefine all of this using preprocessor macros. Or you can refuse, and I would highly recommend the latter.
source share