Author: Dann Corbit
Date: 14:32:52 01/07/99
Go up one level in this thread
On January 07, 1999 at 16:15:31, Robert Hyatt wrote: [snip] > E.N.: >>Maybe some Mac guru can answer the questions: >>- is there any way to recognize that C++ program is compiled for Mac >> (what macro are typical Mac C++ compiler defines?), >>- what character is the directory separator at Mac (it's '/' in Unix, >> '\' in Windows)? >> >>Eugene > >it might be worth a try to use the tbpath= option to direct crafty the >tablebases... I don't know if it will work or not however... For path specifications, if they are opened by ANSI C functions, they should recognize the Unix flavor directory specs, whether on DOS, Mac, UNIX, MVS, VMS, whatever. So, for instance, RC_FILE_NAME = "/crafty/executable/rc/crafty.rc"; fp = fopen(RC_FILE_NAME, "r"); should be honored on all operating systems that use directories (and assuming that such a file exists). ;-) However, commands spawned using system(), fork() or the like should use whatever your native system approves of.
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.