Norbert asked me to do a 32 bits compile of Crafty 24.1. Here it is:
http://www.andscacs.com/crafty/crafty24.1.rar
And here the vc solution I created with the sources:
http://www.andscacs.com/crafty/crafty24.1_sln.rar
In the first file there are 3 versions:
crafty24.1 -> 32 bits with popcnt
crafty24.1n -> 32 bits without popcnt
crafty24.1_x64 -> 64 bits with popcnt
The 3st file is because someone did not find a 64 bits compile that worked for his system, and my version worked for it.
The changes I have done to be able to compile it are mostly the same I have done for the other version:
*#ifndef and #define on every top of .h
* modify two things on lock.h:
Code: Select all
extern void Pause();
Code: Select all
//# include <windows.h>
#include <intrin.h>
# pragma intrinsic (_InterlockedExchange)
Code: Select all
#include "lock.h"
void Pause() {
}
* meu.h:
Code: Select all
#ifndef MEU_INCLUDED
# define MEU_INCLUDED
#define WIN32
#define _DEBUG
#define _CONSOLE
#define NT_i386
#define CPUS 4
#endif
size_t -> unsigned long long
* New change:
pthread_t NumaStartThread(void *func, void *args);
->
void * NumaStartThread(void *func, void *args);
Anything just tell me.