Author: Dave Gomboc
Date: 13:18:40 08/06/99
Go up one level in this thread
On August 06, 1999 at 11:52:45, Dann Corbit wrote:
>On August 06, 1999 at 03:48:23, Dave Gomboc wrote:
>
>>Okay, I have a copy of TSCP 1.3 sitting here. You guys were testing with 6-ply
>>searches from the start position? What code do I need to add/change to get the
>>timing info? (I can't use unix "time" because the program is interactive.)
>The version on my ftp site already has the changes done.
>ftp://38.168.214.175/pub/TSCP.ZIP
Uh, there's a whole ton of files in there that I wasn't expecting. I presume
some of them are profile information so some compiler(s) can do a better job at
optimization?
Many of the filenames are in all-caps... really annoying on a unix system.
data.h is missing completely... did it get absorbed into something else?
Also, there's a TSCP.ZIP inside of TSCP.ZIP (in addition to the tscp13.zip).
Presumably this was accidental?
Here's a makefile that I was using for the "normal" TSCP:
OBJS = board.o data.o eval.o main.o search.o
HEADERS = data.h defs.h protos.h Makefile
CC = gcc
CFLAGS = -Wall -O2
all: tscp
%.o: %.c $(HEADERS)
$(CC) $(CFLAGS) -c $< -o $@
%.s: %.c $(HEADERS)
$(CC) $(CFLAGS) -S $< -o $@
tscp: $(OBJS)
$(CC) $(LDFLAGS) $(OBJS) $(LIBS) -o tscp
strip tscp
clean:
$(RM) *.o core a.out *~ *.s *.bak
No doubt the compiler options can be improved to add inlining, et cetera. I see
you have a tscp.c file which just #includes all of the .c files. Which compiler
aren't you able to instruct to do cross-file optimizations?
Sorry if this message sounds mostly like a rant. :-) I was expecting something
"small". I think it'd be easier for me to just do diffs against the original
files and use my makefile with some extra optimization options, unless you know
of a good reason not to?
Dave
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.