Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Linux, GCC vs MSVC

Author: Robert Hyatt

Date: 06:52:34 01/08/01

Go up one level in this thread


On January 08, 2001 at 03:41:48, Ratko V Tomic wrote:

>>>So, then is it GCC that make crafty slower on linux?
>>
>> Always has been..  Doesn't optimize as well as Microsoft's compiler...
>
>Couldn't one just compile the performance critical chess engine
>code with MSVC (under Windows) and produce x86 asm source output
>then combine in linux these .asm files (after replacing some of MSVC
>masm directives if necessary) with the rest of non-engine .c code
>with GCC, to get the best of both worlds. OS overhead would surely
>be smaller under linux.


This would be horribly difficult.  Microsoft uses a different assembly
format than Linux/gcc.  one uses opcode src,dst, the other uses opcode
dst,src.  Every line would have to be hand-repaired...  and that is only
the first problem...



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.