Here's some helpful suggestions for compiling the Midbrowser with the Intel® C++ Compiler.
To build with ICC you need to do the following:
1) You need to define the following variables:
2) You need to modify the configure file to comment out the following line (total of 3 occurrences):
3) You need to remove "NS_FASTCALL" from the files nsRuleNode.h and nsStyleContext.h in layout/style directory. This works around a runtime bug in ICC.
4) Add the following options to your mozconfig:
You should be able to build with ICC with the above steps.