Author: Aaron Gordon
Date: 15:59:42 07/03/04
Go up one level in this thread
On July 03, 2004 at 17:37:53, Peter Skinner wrote: >When I compile Crafty for AMD users for some reason the exe just exits, doesn't >give an error message.. nothing.. > >Here is my makefile: > >TARGET = NT_i386 > >CC = xicl6.exe >LD = xilink6.exe > >BFLAGS = /D_CONSOLE /DWIN32 > >CFLAGS = /O2 /G7 /Gr /Ob2 /QaxiW /W0 /Qip /Qipo >COPTS = /DFAST /DEGTB6 /DUSE_ASSEMBLY /DVC_INLINE_ASM /DEPD /DFUTILITY >cobjs = x1.obj > >ALLOPTS = $(COPTS) $(AOPTS) /D$(TARGET) > >allobjs = $(cobjs) $(asmobjs) egtb.obj > >includes = chess.h data.h epd.h epddefs.h epdglue.h inlineamd.h > >wcrafty : $(allobjs) > $(LD) $(LDFLAGS) $(allobjs) /out:wcrafty-19.15.exe > >$(cobjs) : $(includes) > >.c.obj : > $(CC) $(BFLAGS) $(CFLAGS) $(ALLOPTS) /c $*.c > >.cpp.obj : > $(CC) $(BFLAGS) $(CFLAGS) $(ALLOPTS) /Zm500 /c $*.cpp > >$(cobjs): $(includes) > >x1.c: searchr.c search.c repeat.c next.c nextr.c history.c nexte.c \ > quiesce.c evaluate.c movgen.c make.c unmake.c attacks.c swap.c \ > boolean.c utility.c valid.c searchmp.c thread.c book.c data.c drawn.c >\ > edit.c epd.c epdglue.c init.c input.c interupt.c iterate.c main.c \ > option.c output.c phase.c ponder.c preeval.c resign.c root.c learn.c >\ > setboard.c test.c time.c validate.c annotate.c analyze.c evtest.c >bench.c \ > hash.c probe.c > copy /b book.c+data.c+drawn.c+edit.c+epd.c+epdglue.c+\ > init.c+input.c+interupt.c+iterate.c+main.c+option.c+output.c+\ > phase.c+ponder.c+preeval.c+resign.c+root.c+learn.c+setboard.c+\ > test.c+time.c+validate.c+annotate.c+analyze.c+evtest.c+bench.c+\ > hash.c+probe.c+boolean.c+swap.c+attacks.c+evaluate.c+make.c+\ > unmake.c+movgen.c+quiesce.c+search.c+next.c+searchr.c+repeat.c+\ > nextr.c+history.c+nexte.c+utility.c+valid.c+searchmp.c+\ > thread.c x1.c >clean: > del /q $(cobjs) > del /q egtb.obj > del /q log.* > del /q game.** > del /q *.bak > del /q x1.c > >I also use /arch:SSE2 and SSE as well it is just not entered there, as I am >trying to figure out the problem. > >What are the best options to compile for the AMD? I am using the Intel Compiler >8.0 within the MSCV++ 6.0 /sp5 + processor pack. > >Now I use the inlineamd.h instead of the inlinex86.h, and it doesn't make a >difference.. how come? > >Anyone? > >Peter Try changing "CC = xicl6.exe" to "CC = icl.exe" and see if that does anything. Also try these cflags: /O3 /G6 /QxK /Qip /Qipo /Qunroll
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.