Author: Hristo
Date: 13:18:17 07/21/02
Go up one level in this thread
On July 21, 2002 at 15:28:15, Manfred Schubert wrote: >Is it possible to compile Crafty with Project Builder on OS X? If so, could >somebody give me some kind of walk-through, please. > >Alternatively I guess it might be possible to compile it with GCC in the >Terminal. That would be fine either. > >Thanks a lot! > > I’ve compiled crafty on the command line only using the makefile. You’ll need to change a few things, some system include files are in different places. I had to disable egtb all together, cause of too many errors. Crafty compiles and runs fine … unfortunately I had to reinstall crafty 18.13 here is the target definition in the makefile: osx: $(MAKE) target=OSX \ CC=cc CXX=c++ \ CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall \ -fomit-frame-pointer -funroll-all-loops \ -finline-functions -ffast-math' \ LDFLAGS='$(LDFLAGS)' \ opt='$(opt) -DOSX -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS -DFAST -DSMP' \ crafty-make then in some of the "C" files do #ifdef OSX and change things so they compile. I can send you the modified source. But it would be better if we did this once and let Bob make it a part of the normal crafty source code. Bob, what do you think? Regards, hristo >Manfred
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.