I would like to learn compiling

Discussion of chess software programming and technical issues.

Moderator: Ras

Charly
Posts: 1091
Joined: Wed Jul 23, 2014 4:30 pm
Location: Bretagne

I would like to learn compiling

Post by Charly »

Hi,

I have questions from a total novice point of view :

a) I red that the best .exe is the one compiled by youself for your own computer. Is it right ?

b) Is it something (easily) doable by a novice ?

c) I'm running my tournaments under Windoxs 7 x64 and Windows 8.1. My processors are Intel i5 and i7. What program should I use to try to compil ?

d) Is there a site (or a link) or a method to learn to compil ?

Many thanks for your answers. I think that this topic could be useful for many others.

Regards.
Brittany from the sky :
https://youtu.be/nR9eU_tVbxE
Angrim
Posts: 97
Joined: Mon Jun 25, 2012 10:16 pm
Location: Forks, WA
Full name: Ben Nye

Re: I would like to learn compiling

Post by Angrim »

Charly wrote:Hi,

I have questions from a total novice point of view :

a) I red that the best .exe is the one compiled by youself for your own computer. Is it right ?
.
That's kind of like saying that the best chair is one that you make yourself specifically for your dimensions. For a skilled carpenter it would certainly be true, but most of us would be better off with a generic chair from walmart.
Peter Berger
Posts: 791
Joined: Thu Mar 09, 2006 2:56 pm

Re: I would like to learn compiling

Post by Peter Berger »

Angrim wrote:
Charly wrote:Hi,

I have questions from a total novice point of view :

a) I red that the best .exe is the one compiled by youself for your own computer. Is it right ?
.
That's kind of like saying that the best chair is one that you make yourself specifically for your dimensions. For a skilled carpenter it would certainly be true, but most of us would be better off with a generic chair from walmart.
That's a very nice answer! :)

Or - to answer the topic starter directly- no, it is wrong ! :p
BBauer
Posts: 658
Joined: Wed Mar 08, 2006 8:58 pm

Re: I would like to learn compiling

Post by BBauer »

You may start to learn to compile by compiling stockfish.
The following link explains it very well.
http://support.stockfishchess.org/kb/ad ... on-windows

my answers to
a) yes
b) read the link I gave and decide yourselve
c) stockfish
d) see the above link and have a look at the Makefile in the Stockfish source

Hope that helps
Bernhard