Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Compiling crafty 19.4 on linux i686 platform

Author: George Smith

Date: 15:20:21 11/01/03

Go up one level in this thread


On October 27, 2003 at 09:21:07, Robert Hyatt wrote:

>
>
>If you compile with SMP support, you need to add -lpthread to the
>link line in the Makefile:
>
>crafty: $(objects)
>        $(CC) $(LDFLAGS) -o crafty $(objects) -lm -lpthread $(LIBS)
>                                                  ^^^^^^^^^
>
>
>
>        @rm -f X86-elf.S
>        @rm -f X86-aout.S

Well I am on a single processor machine, so why would I want to compile with SMP
support?  I am running a single Intel P3-800Mhz CPU, with Red Hat Linux 9.

With the -lpthread option that you specified, now the source is compiling
successfully.  This does not make sense to me.  Why would adding an SMP option
cause the build to succeed?



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.