Hi All,
In your experience, with what switch for Intel Complier that we can get
best performance?  For example, -xL -o3 -ipo.
Thanks
-Terence

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Wong, Carl
Sent: Thursday, August 07, 2008 5:54 AM
To: Oscar Tu; [email protected]
Subject: RE: [Moblin Dev] Compile Midbrowser with Intel(R) 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):
       "WARNINGS_AS_ERRORS='-Werror'"  

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.

-Carl        

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Oscar Tu
Sent: Wednesday, August 06, 2008 6:47 AM
To: [email protected]
Subject: [Moblin Dev] Compile Midbrowser with Intel(R) C++ Compiler

Hi All,

Have anyone tried to re-compile midbrowser with "icc"? "icc" is provided
by
Intel(R) C++ Software Development Tool Suite.

There are scripts that check the default compiler is gcc/icc/winCE etc.,
in
"configure.in". So I think there is some kind of customization for
different
platform exist. Can anybody provides some hints?

Bese Regards,

-Oscar
_______________________________________________
dev mailing list
[email protected]
https://www.moblin.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
[email protected]
https://www.moblin.org/mailman/listinfo/dev

_______________________________________________
dev mailing list
[email protected]
https://www.moblin.org/mailman/listinfo/dev

Reply via email to