Ivanhoe 57
Posted: Sun Jun 20, 2010 6:01 pm
Is there a 32-bit version?
How about a 32/64 bit Linux executable?DaveD wrote:Is there a 32-bit version?
I installed Cygwin, GCC + Make packages and I still get about 50 errors when I try to compile using MAKE command. I even removed the 64 bit define and other 64 bit stuff and it still didn't work. So, I can't even get the linux exe to compile. If anyone can post the 32 bit exe I think you can just throw in the cygwin dll and should work.TheKnilch wrote:How about, downloading the source files, typing MAKE and having an executable?
It's far more easy.
TK
Great idea -- if only the source were available somewhere. I've not found it yet...TheKnilch wrote:How about, downloading the source files, typing MAKE and having an executable?
It's far more easy.
TK
Code: Select all
There is just a line missing:
#include <sys/time.h>
at line 190 of utility.c
The default compile is 64 bits, so I had to remove the -Dx86_64 in the makefile, but you may not have the same problem (I'm using 32 bits).
input.c:
after line 1133:
#include <io.h>
added
#include <conio.h>
SMP_init.c
function NANO_SLEEP:
void NANO_SLEEP (int x)
{
struct timespec TS[1];
TS->tv_sec = 0;
TS->tv_nsec = x;
nanosleep (TS, NULL);
}
changed into
INLINE void NANO_SLEEP (int x)
{
#ifdef WINDOWS
Sleep(x / 1000000);
#else
struct timespec TS[1];
TS->tv_sec = 0;
TS->tv_nsec = x;
nanosleep (TS, NULL);
#endif
}
changed line 104:
{ LPDWORD w; do { GetExitCodeThread (x, &w); } while (w != STILL_ACTIVE);
in
{ DWORD w; do { GetExitCodeThread (x, &w); } while (w != STILL_ACTIVE); }
changed line 120-121
PTHREAD_DELETE (PTHREAD[cpu]);
pthread_join (PTHREAD[cpu], NULL);
in
#ifdef WINDOWS
PTHREAD_DELETE (&PTHREAD[cpu]);
PTHREAD_JOIN (&PTHREAD[cpu], NULL);
#else
PTHREAD_DELETE (PTHREAD[cpu]);
pthread_join (PTHREAD[cpu], NULL);
#endif
removed line 140
struct timespec TS[1];
replaced line 171-173
TS->tv_sec = 0;
TS->tv_nsec = 1000000; /* 1 ms */
nanosleep (TS, NULL);
with
NANO_SLEEP(1000000);
replaced line 176-178
TS->tv_sec = 0;
TS->tv_nsec = 1000000; /* 1 ms */
nanosleep (TS, NULL);
with
NANO_SLEEP(1000000);
The link is broken for the Linux source. Can someone take a look and fix it please?TheKnilch wrote:Hi all,
32/64 Bit Compile from Ahmed for Windows Users
http://www.speedyshare.com/files/230...vanHoe_T57.rar
57 Sources for Linux / Mac Users
http://ippolit.wikispaces.com/file/d...9957a-Beta.tar
Greetings
TK