Computer Chess Club Archives


Search

Terms

Messages

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

Author: milix

Date: 23:34:13 11/14/04

Go up one level in this thread


On November 14, 2004 at 20:40:40, Andrew Platt wrote:

>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
>
>Were you were building with a static libc library when using gcc? If not that's
>probably the reason. Another possible reason would be if the defaults for the
>Intel compiler include storing debug information.
>
>Andy.

Hi Andrew,

I use static linkage in gcc also.
gcc: 290Kb
intel: 580Kb
intel with debug info: 1.5Mb



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.