Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Somewhat OT: Intel C++ 8 compiler for Linux

Author: Alessandro Scotti

Date: 05:23:33 11/15/04

Go up one level in this thread


On November 14, 2004 at 13:41:03, milix wrote:

>Hi
>
>When I compile my engine with Intel C++ 8 for Linux its executable
>size is 2x the size of the executable when I use gcc 3.3.2
>I looked the executable using a hex editor and I saw that all the symbols
>was there at the end of the executable file. Any idea why?
>
>My compiling options were:
>LIBS =  -L/opt/intel8/lib
>CXXINCS =  -I/opt/intel8/include/c++ -I/opt/intel8/include
>CXXFLAGS = $(CXXINCS) -O2 -fno-rtti -rcd -tpp6 -no-gcc
>
>and the linking options were:
>-static-libcxa

No idea why (probably a compiler option), but you could trip running "strip" and
see if it can help. Another explanation, if the symbols alone cannot account for
the 2x increase, is too many optimizations like function inlining, loop
unrolling and so on.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.