Compiling CLISP on NT experience

To: clisp-list <clisp-list@ma2s2.mathematik.uni-karlsruhe.de>

Subject: Compiling CLISP on NT experience

From: Blake McBride <blake@edge.net>

Date: Wed, 13 Dec 1995 02:03:43 -0600

Not good.
I downloaded the latest CLISP (1995-12-08) and GCC for NT (b10) and attempted to
get it working under NT. I haven't gotten it working but thought I'd share my
experience with others. Perhaps someone can show me where I'm going astray.
1. I didn't understand Marcus Daniels' instructions since I'm not trying to cross
compile anything. I understand that I have to run configure and makemake from
linux, but I want to do the rest under NT. What I did from linux is as follows:
(from clisp root)
configure --disable-nls --without-readline
cd src
makemake --disable-nls --without-readline i386-win32 gcc >makefile
I then copied everything to my DOS partition. I tried "win32" at the end of the configure
command as recommended by Marcus but it didn't like it.
2. I had many problems with the tools (make, bash, etc.) which came with gcc.
First make didn't recognize the "copy" or "type" commands in the makefile since they
are not .exe files - I changed them to cp and cat, etc.
The backslashes in paths in the makefile were acting like escape characters and nothing
worked - I changed them to a forward slashes.
For some reason piping was causing anything compiled with gcc to randomly hang the command
shell. I used a temporary file in those cases.
3. lispbibl.d has a line which defines WIN32 commented out. It is needed with the current
gcc for NT.
4. Macros named PROT_READ and the like are used but not defined anywhere I could find.
I gave up.
At this point I am of the opinion that A) I probably configured the thing wrong, and
B) the gcc for NT tools are in flux and work differently from previous versions, and
C) I don't get the impression that all the necessary config stuff is included.
I'm interested in working on it further but would appreciate a few pointers to help
get me back on track. I'll be happy to supply plenty of feedback and any code I
add.
Thanks.
--blake
--
Blake McBride Algorithms Corporation
615-791-1636 voice 3020 Liberty Hills Drive
615-791-7736 fax Franklin, TN 37067
blake@edge.net USA
See our WEB page at: http://www.edge.net/algorithms