[ruby-cvs:72039] k0kubun:r64947 (trunk): win32/Makefile.sub: install precompiled header to prefix

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Mon Oct 8 00:38:06 JST 2018


k0kubun	2018-10-08 00:38:06 +0900 (Mon, 08 Oct 2018)

  New Revision: 64947

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64947

  Log:
    win32/Makefile.sub: install precompiled header to prefix
    
    This is needed to run JIT from the installed ruby binary.
    
    Even after this, we're hitting another error though.
    
    start compilation: a at -e:1 -> C:\Users\k0kubun\AppData\Local\Temp/_ruby_mjit_p9712u0.c
    Starting process: cl cl -nologo -LD -DMJIT_HEADER -MD -Zi -W2 -wd4100 -wd4127 -wd4210 -wd4214 -wd4255 -wd4574 -wd4668 -wd4710 -wd4711 -wd4820 -wd4996 -we4028 -we4142 -O2sy- -Zm600 -DRUBY_EXPORT -I. -I.ext/include/x64-mswin64_140 -I../ruby/include -I../ruby -I../ruby/enc/unicode/10.0.0 -DRUBY_DEVEL=1 -DCANONICALIZATION_FOR_MATHN -D_WIN32_WINNT=0x0600 -FeC:\Users\k0kubun\AppData\Local\Temp/_ruby_mjit_p9712u0.so -FoC:\Users\k0kubun\AppData\Local\Temp/_ruby_mjit_p9712u0.obj -YuC:/usr/include/ruby-2.6.0/x64-mswin64_140/rb_mjit_header-2.6.0.pch C:/usr/include/ruby-2.6.0/x64-mswin64_140/rb_mjit_header-2.6.0.obj -TcC:\Users\k0kubun\AppData\Local\Temp/_ruby_mjit_p9712u0.c -link -LIBPATH:C:/usr/lib x64-vcruntime140-ruby260.lib -incremental:no -debug -opt:ref -opt:icf -dll
    _ruby_mjit_p9712u0.c
    C:\Users\k0kubun\AppData\Local\Temp/_ruby_mjit_p9712u0.c(1): error C2859: C:\usr\bin\vc140.pdb is not the pdb file that was used when this precompiled header was created, recreate the precompiled header.
    compile_c_to_so: compile error: 2
    Failed to generate so: C:\Users\k0kubun\AppData\Local\Temp/_ruby_mjit_p9712u0.so

  Modified files:
    trunk/win32/Makefile.sub


More information about the ruby-cvs mailing list