Author: Dieter Buerssner
Date: 12:30:56 06/24/04
Go up one level in this thread
On June 23, 2004 at 05:10:07, Uri Blass wrote: >I ask because Dieter told me in an email that I can install Linux, where I can >get the newest Intel compiler and it is free for non commercial use. > >A related question is if I can see examples of code that work under windows and >descreption of changes that are done to compile it under linux. As mentioned already, it should be very little work. For my engine, there are basically 2 functions, which are OS dependent: polling for input (rather easy on Unix with select) and sub second timing (also easy, for example with gettimeofday). For me, it was a matter of perhaps 2 hours, to get the engine run under Linux. If you don't use makefiles yet, it might be longer. But a first try that will work might be very easy: icc *.c *.cpp -o movei (icc defaults to rather good optimizations - contrary to other compilers). >Another question is if a program that is compiled under linux can work under >interfaces like winboard that are based on windows. You can use it under xboard and some other interfaces. Over a network, you can even use it under original Winboard. >I guess that there should be no problem and as far as I know tord writes gothmog >under linux and it runs under winboard. >When I think about it maybe I need some #if #def to make it work. Yes, but only a few. I have one module sysdep.c which has all the system dependent functions. It is not very big, and has some #ifs. When you are not experienced at all with Unix, the time until WCCC might not be enough for you. You would need to install a new OS (probably with some double booting options), install the compiler(s) and understand the basic operations (how to copy files, how to start programs, ...). It is not difficult, but it needs certainly some time. Regards, Dieter Regards, Dieter
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.