diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-01-31 19:02:28 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-01-31 19:02:28 +0000 |
commit | 65c1b0166982f95d78106c3f0a3fac48424ba87d (patch) | |
tree | 515b58b1baf5972dee67de2cbe8e52d78c4d3ba6 /src/INSTALLpc.txt | |
parent | 0182465bc07ec10606102ba744724f2b760c2bf9 (diff) | |
download | vim-git-65c1b0166982f95d78106c3f0a3fac48424ba87d.tar.gz |
updated for version 7.0046
Diffstat (limited to 'src/INSTALLpc.txt')
-rw-r--r-- | src/INSTALLpc.txt | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/INSTALLpc.txt b/src/INSTALLpc.txt index 051463986..b190e888f 100644 --- a/src/INSTALLpc.txt +++ b/src/INSTALLpc.txt @@ -20,6 +20,7 @@ Contents: 5. Using Mingw 6. Cross compiling for Win32 from a Linux machine 7. Building with Python support +8. Building with MzScheme support 1. MS-DOS @@ -310,3 +311,38 @@ Now just do: make -f Make_ming.mak gvim.exe and you will end up with a Python-enabled, Win32 version. Enjoy! + +8. Building with MzScheme support +================================================= + +(written by Sergey Khorev <sergey.khorev@gmail.com>) + +Vim with MzScheme (http://www.plt-scheme.org/software/mzscheme) support can +be built with either MSVC, or MinGW, or Cygwin. Supported versions are 205 and +above (including 299 and 30x series). + +The MSVC build is quite straightforward. Simply invoke (in one line) +nmake -fMake_mvc.mak MZSCHEME=<Path-to-MzScheme> + [MZSCHEME_VER=<MzScheme-version>] [DYNAMIC_MZSCHEME=<yes or no>] +where <MzScheme-version> is the last seven characters from MzScheme dll name +(libmzschXXXXXXX.dll). +If DYNAMIC_MZSCHEME=yes, resulting executable will not depend on MzScheme +DLL's, but will load them in runtime on demand. + +Building dynamic MzScheme support on MinGW and Cygwin is similar. Take into +account that <Path-to-MzScheme> should contain slashes rather than backslashes +(e.g. d:/Develop/MzScheme) + +"Static" MzScheme support (Vim executable will depend on MzScheme DLLs +explicitly) on MinGW and Cygwin requires additional step. + +libmzschXXXXXXX.dll and libmzgcXXXXXXX.dll should be copied from +%WINDOWS%\System32 to other location (either build directory, some temporary +dir or even MzScheme home). + +Pass that path as MZSCHEME_DLLS parameter for Make. E.g., +make -fMake_cyg.mak MZSCHEME=d:/Develop/MzScheme MZSCHEME_VER=209_000 + MZSCHEME_DLLS=c:/Temp DYNAMIC_MZSCHEME=no + +After successful build these dlls can be freely removed, leaving them in +%WINDOWS%\System32 only. |