I have Maverick doing error free perft in a Microsoft Visual Studio Express 2012 environment. I was about to plunge into developing the evaluation function. But then I thought now is probably a good time to get GCC working. A couple of reasons for this:
1. Since Maverick is a bitboard program I'd like it to work on a 64 bit platform (I think it is possible with Express, but so far I haven't been able to get it to work)
2. Once I have 64 but working I can utilize the SSE 4.2 bit-flipping intrinsics (e.g. popcount etc.) to get a nice speed-up
3. I've heard the latest version of GCC is as good as, or better than, Microsoft for 64 bit compiles (so why pay $500 for Microsoft's Professional version).
But the task doesn't seem to be trivial. Although I'm certainly no expert when it comes to C or C++ development.
Can anyone help me - I'd certainly appreciate it!
You can find the zipped source, along with all the MSVC file here:
http://goo.gl/VJW73
Using Express 2012 it compiles nicely. I have it set to use multi-threads (which I use for getting user input) and it's compiling as C++ (mainly for variable declarations in the middle of a procedure). The only real command which works is "testperft".
I've tried to get it working using the NetBeans and Code::Blocks IDEs in 32 bit mode but to no avail. The GCC compiler seems to get stuck on
Code: Select all
t_chess_move_type Code: Select all
t_move_recordAny help appreciated!
Many Thanks,
Steve
