Als Antwort auf:/In reply to: Re: Building your own Crafty geschrieben von:/posted by: Bryan Hofmann at 13 April 2004 13:12:49:
That is indeed the better way of doing it. I did not realize that there is a crafty.c file that just '#include's all the other files.
I will update the page.
Just as a FYI you can greatly reduce your batch file and achive a faster crafty by using the following;For those can't wait for a crafty binary each time a new version of the crafty source becomes available, I have created a page that gives instructions on how to make your own crafty binary using the Mingw/GCC compiler.
http://www.geocities.com/alternativecra ... ngw32.html
The page gives the link on where you can get the Mingw/GCC compiler.
I'm also planning on adding instructions using the Borland C++ compiler (also free) once I have gotten that to work.
Good day everyone.
...Paul
gcc -c -DNT_i386 -O3 crafty.c
gcc -c -DNT_i386 -O3 egtb.cpp
gcc -o crafty.exe *.o
By doing this you compile the crafty.c as one large object which allows for better optimization.