Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty bench & caches experiment on a Powerbook

Author: Frank E. Oldham

Date: 15:40:32 08/20/04

Go up one level in this thread


On August 20, 2004 at 17:20:03, Rick Bischoff wrote:

>Hello,
>
>How did you get it to compile cleanly with xlc?  My compiliation always seems to
>bug out!  (I think I only tried it with -O5 though)
>

here's the Makefile portion I use
(the crafty source has Andreas ppc-inline changes)

darwinG4:
	$(MAKE) target=DARWIN \
		CC=xlc CXX=g++ \
		CFLAGS='$(CFLAGS) -g -D_REENTRANT -O2 -qarch=ppcv -qtune=auto -qmaxmem=-1 ' \
		CXFLAGS=$(CFLAGS) \
		LDFLAGS=$(LDFLAGS) \
		LIBS='-lstdc++ ' \
		opt='$(opt) -DFUTILITY -DINLINE_PPC  -DFAST ' \
		crafty-make
the other optimization levels (O3, O4, O5) actually slowed down crafty (via
bench)

Frank



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.