Compile with ICC

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:

export CC=icc

export CXX=icpc

export LD=xild

export AR=xiar

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:

ac_add_options -enable-system-cairo

ac_add_options -enable-cpp-rtti

You should be able to build with ICC with the above steps.

Для получения подробной информации о возможностях оптимизации компилятора обратитесь к нашему Уведомлению об оптимизации.
Возможность комментирования русскоязычного контента была отключена. Узнать подробнее.