From: Arseny S. <am...@ic...> - 2003-01-03 07:44:42
|
Hello Christian, Thursday, January 02, 2003, 5:13:03 PM, you wrote: > i am trying to build clisp 2.30 under windows 2000 with msvc6. i am running > into a few problems and would like to ask if somebody knows how to solve > them? > first of all i see at the top of the install instructions: > 0. Build a few recommended libraries: libiconv and libsigsegv. > - GNU libsigsegv (highly recommended for C stack overflow detection), > - GNU libiconv (for more character set conversions). > these two libraries do not build out of the box for msvc6 but finally i > managed to build the two libraries. but how do i integrate them into the > clisp project? probably i have to modify the makefile?? and set a few > #define ?? Strange, I had no problems with them. Maybe you didn't set enviroinment variables ? You may use a batch like this to not pollute global enviroinment (modify your vcvars.bat from vc installation) == vc.bat == SET x=y SET path=zzz %1 %2 %3 %4 %5 etc ============ so then you can call 'vc nmake -f Makefile.msvc' > then i wanted to point out that i had to modify the makefile because the > MSVCDIR = > path is hardcoded in the file. i think one could also use the MSDEVDIR > environment variable? MSVCDIR fits better, but note the forward slashes. > next i had to install the UnxUtils from http://unxutils.sourceforge.net/ > because the build depends on sed. Yes, it is worth to have them anyway. > and finally i run into the following problem: > spvw.obj : error LNK2001: Nichtaufgeloestes externes Symbol _SP_bound > lisp.exe : fatal error LNK1120: 1 unaufgeloeste externe Verweise > NMAKE : fatal error U1077: 'cl' : Rueckgabe-Code '0x2' > Stop. Here I need help too ;) When building with libsigsegv this problem doesn't appear. To build with another options makefile should be regenerated in a unix or cygwin enviroinment - it is the general rule. But since 2.30 and for now there's no way to include libiconv and libsigsegv in makefile. I reported it already 15 Sep 2002. Once Makefile is good, you need just to copy sigsegv.h and sigsegv.lib into src directory. I believe I had hacked my Makefile by hand - removed -DNO_GIGSEGV and added sigsegv.lib to LIBS. I don't remember how I have got it :-( There are also two new problems with current CVS makefile: 1. intparam.h and floatparam.h depend on init. But they cannot be generated on windows. 2. $(RMRF) doesn't delete directory 'data' and I can't see how it can. I can write a batch file using del and rmdir , but it wouldn't be compatible with unix rm anyway. I suggest to use 'rm' - once we use sed on windows, why not to use rm ? As it comes to clisp makefiles I feel uncertain, I'm afraid to break it. It is generated by shell scripts which I don't understand well. -- Best regards, Arseny |