Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Building crafty in unix

Author: Robert Hyatt

Date: 18:21:15 09/04/02

Go up one level in this thread


On September 04, 2002 at 18:36:02, Russell Reagan wrote:

>On September 04, 2002 at 17:47:13, Robert Hyatt wrote:
>
>>On September 04, 2002 at 16:15:52, Russell Reagan wrote:
>>
>>>Could someone help me out with building Crafty to run in unix? I've never
>>>compiled anything but one file programs under unix. The system runs Solaris, and
>>>I'd like to compile for multiprocessor support. If more information about the
>>>system is needed let me know and I'll see what I can find out.
>>>
>>>Thanks,
>>>Russell
>>
>>
>>First look at the targets in the Makefile.  There are a couple of solaris
>>options.
>>
>>you should be able to type "make solaris-xxx" and it ought to fly.  xxx
>>will depend on your compiler and whatever so check the Makefile.  Later
>>you will want to add -DSMP and -DCPUS=X (where X = max cpus you have) to
>>the CC options in the Makefile...
>
>I suspect the system doesn't have a dynamically linked library it needs or it's
>missing something else. Would that cause a core due to a segmentation fault?
>
>Russell


No.  Missing libs will cause loader (ld) errors.  We ran into this a while
back and found it was a gcc bug in the sparc optimizer.  If you turn down the
optimizer settings it will run, but significantly slower.




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.