Hello,
I am trying to use GCL on 64-bit Windows Server 2012 but so far am having no luck. I was hoping someone might have already had success in this area and may be able to help me along.
I first tried using the version that I've had great success with in 64-bit Windows 7, obtained here:
Unfortunately it seems unable to load compiled binaries when run on Server 2012. If I have a file test.lsp that contains simply:
(format t "~% ahoy")
I am able to run this without issue:
(load "c:/test.lsp")
However, building and then loading the resulting binary fails and this is key functionality for me:
>>(compile-file "c:/test.lsp")
Compiling c:/test.lsp.
End of Pass 1.
End of Pass 2.
OPTIMIZE levels: Safety=0 (No runtime error checking), Space=0, Speed=3
Finished compiling c:/test.lsp.
#p"/test.o"
>>(load "c:/test.o")
Loading c:/test.o
Error: Caught fatal error [memory may be damaged]
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by EVALHOOK.
Backtrace: system:universal-error-handler > evalhook > LOAD
My next effort was to try building the latest version of GCL using the excellent guide put together by Don Winiecki. Unfortunately I was not able to get it to make. Error as follows:
divis.c: In function '__gmpn_divisible_p':
divis.c:74:3: error: 'TMP_DECL' undeclared (first use in this function)
TMP_DECL;
^
divis.c:74:3: note: each undeclared identifier is reported only once for each function it appears in
divis.c:139:3: error: 'TMP_MARK' undeclared (first use in this function)
TMP_MARK;
^
divis.c:141:3: warning: implicit declaration of function 'TMP_ALLOC' [-Wimplicit-function-declaration]
rp = TMP_ALLOC_LIMBS (asize+1);
^
divis.c:152:4: error: 'TMP_FREE' undeclared (first use in this function)
TMP_FREE;
That's where I've left off. Anyone have any pointers?
Regards,
Will