Well when I use the -MD flag, I get the new error:
I was looking at the OpenMP library, and it says that on GCC/Microsoft compilers you need to put the headers in a separate folder and use then link to them? Could that possibly be the cause of the error here?
Be aware that when using the GNU*/Microsoft* compiler, you may inadvertenty use inappropriate header/module files. To avoid this, copy the header/module file(s) to a separate directory and put it in the appropriate include path using the -I option.
I tried, but to no luck!
I tried -qnoipo as an enable optimize flag, I tried it with the linker by itself, I tried it with both and still got the same error.
Any idea where I should generally look? There are thousands of files I don't know where to begin! I read the MSDN article and usually -MD sorts out this kind of error, but it doesn't this time.
But there are over 30,000 files which at least half are C/C++ related files. I have to check each and everyone one of them for libcmt.lib?
I downloaded the source straight from Mozilla.
I tried that, when I do that it gives me the other error:
LNK1120 error with 292 unresolved externals.
I can't possibly need to edit that many files. I found someone who has made successful firefox builds with ICC here:
But I've done the same modifications he has up to part 3, after part 3 is irrelevant because that's how to get PGO to work.
I changed it to -O3 -Qprec-div -QxO, like you said. Still gives the error.
EDIT: Great news, I fixed it! Turns out I had too many commands that were conflicting. This is a build without any optimization flags though, so hopefully when I put some I don't get the same errors again! Thank you everyone for your help, it is greatly appreciated.
I've done some verifications related to different source file & foldernames, like "..\Common Tests" or
"..\Main Test.cpp" ( with one space ), and MinGW v3.4.2handled it properly.