Sure, I just don't see how it would make life easier when you are trying to do something as simple as building an universal binary of Crafty. Seems much more complicated than just calling gcc and lipo from the Makefile, if you ask me. Perhaps I am just not sufficiently familiar with XCode.sje wrote:Well, Xcode can do more than just call gcc/g++; it can run all kinds of other code processors and utilities as needed for complicated builds.
Sure it can, but we were talking about casual users. Nobody except the most hardcore geeks (like us) ever run anything from the command line.Crafty can be run from the command line, unless something has changed this in the past version or so.
As far as I know, they only support UCI.There are some Mac chess GUIs available that don't need X Windows; maybe one of these can use the xboard protocol or some adaptation thereof.
These compiler switches are probably quite far from optimal. I use:With regard to the Intel icc compiler:
I have just tried this out.
On the bad side: Ten percent slower.
Did I somehow miss any arcane Intel specific optimization command line directives? I'm using:
icc -O3 -finline-limit=1536 -o ~/tmp/Symbolic *.cpp
which is pretty much the same as the g++ call.
Code: Select all
CXXFLAGS = -O2 -DNDEBUG -fno-exceptions -fomit-frame-pointer -fno-rtti -fstrict-aliasing -mdynamic-no-pic -no-prec-div -ipo -static -xP
For even more speed, you can try to enable profiler guided optimizations. Compile first with -prof_gen (in addition to the normal switches), run your program for a while, and then recompile with -prof_use.
Tord