Weiyong Mao wrote:
> diff -r 99fc18dc1ede src/Make_mvc.mak
> --- a/src/Make_mvc.mak Sun Jun 28 19:24:40 2015 +0200
> +++ b/src/Make_mvc.mak Fri Jul 03 12:20:48 2015 +0800
> @@ -797,7 +797,7 @@
> !endif
> CFLAGS = $(CFLAGS) -DFEAT_MZSCHEME -I $(MZSCHEME)\include
> !if EXIST("$(MZSCHEME)\collects\scheme\base.ss") \
> - || EXIST("$(MZSCHEME)\collects\scheme\base.rkt")
> + || EXIST("$(MZSCHEME)\collects\racket\base.rkt")
> # for MzScheme >= 4 we need to include byte code for basic Scheme stuff
> MZSCHEME_EXTRA_DEP = mzscheme_base.c
> CFLAGS = $(CFLAGS) -DINCLUDE_MZSCHEME_BASE
> @@ -1170,7 +1170,7 @@
> $(CC) $(CFLAGS) if_mzsch.c \
> -DMZSCHEME_COLLECTS=\"$(MZSCHEME:\=\\)\\collects\"
> mzscheme_base.c:
> - $(MZSCHEME)\mzc --c-mods mzscheme_base.c ++lib scheme/base
> + $(MZSCHEME)\raco ctool --c-mods mzscheme_base.c ++lib scheme/base
>
> $(OUTDIR)/if_python.obj: $(OUTDIR) if_python.c if_py_both.h $(INCL)
> $(CC) $(CFLAGS) $(PYTHON_INC) if_python.c
> diff -r 99fc18dc1ede src/if_mzsch.c
> --- a/src/if_mzsch.c Sun Jun 28 19:24:40 2015 +0200
> +++ b/src/if_mzsch.c Fri Jul 03 12:20:48 2015 +0800
> @@ -871,7 +871,7 @@
> mzscheme_main(int argc, char** argv)
> {
> #if MZSCHEME_VERSION_MAJOR >= 500 && defined(WIN32) &&
> defined(USE_THREAD_LOCAL)
> - scheme_register_tls_space(&tls_space, 0);
> + //scheme_register_tls_space(&tls_space, 0);
> #endif
> #ifdef TRAMPOLINED_MZVIM_STARTUP
> return scheme_main_setup(TRUE, mzscheme_env_main, argc, argv);
>
>
> build command(we need raco in path to run $(MZSCHEME)\raco ctool
> --c-mods mzscheme_base.c ++lib scheme/base):
> SET PATH=%TOOLDIR%\racket-6.2;%PATH%
> nmake -f Make_mvc.mak CPU=AMD64 ... MZSCHEME=%TOOLDIR%\racket-6.2
> MZSCHEME_VER=xxxxxxx DYNAMIC_MZSCHEME=no MZSCHEME_GENERATE_BASE=yes
>
>
> result: http://i.rexdf.org/images/mzscheme_vim.gif (Ignore the chinese)
>
> In x64, we can just comment `scheme_register_tls_space(&tls_space,
> 0);`, it seems ok. (maybe we need something like `#if WIN64`.)
>
> racket-6.1.1-x86_64-win32.exe seems not working with `raco ctool
> --c-mods mzscheme_base.c ++lib scheme/base` neither `raco ctool
> --c-mods mzscheme_base.c ++lib racket/base`
>
> I use http://mirror.racket-lang.org/installers/6.2/racket-minimal-6.2-src.tgz
> and run `raco pkg install -i main-distribution`.
> http://mirror.racket-lang.org/installers/6.2/racket-6.2-x86_64-win32.exe
> should work. if not, you should build from souce code with same
> version Visual studio which you use to build gvim.
Wouldn't this change mean that building with an older version of
Racket will stop working? Perhaps it's better to create some variables
to specify what things are called.
--
Living in Hollywood is like living in a bowl of granola. What ain't
fruits and nuts is flakes.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.