我正在通過安裝windows for Is ruby-debug-ide available to be installed on windows with ruby1.9.3?下載了gem並開始安裝它們。但得到這個64位錯誤。是否有32位版本的linecache19。我需要一個不同的gcc編譯器嗎?Windows 8 64位ruby-debug-ide安裝linecache19由於gcc -m64標誌錯誤而失敗:對不起,未實現:64位模式未編譯
C:\JRuby\lib\ruby\gems\shared>gem install linecache19-0.5.13.gem
Building native extensions. This could take a while...
ERROR: Error installing linecache19-0.5.13.gem:
ERROR: Failed to build gem native extension.
C:/JRuby/bin/jruby.exe extconf.rb
C:/JRuby/lib/ruby/shared/mkmf.rb:14: Use RbConfig instead of obsolete and deprecated Config.
checking for vm_core.h... no
checking for vm_core.h... yes
checking for version.h... yes
creating Makefile
make
gcc -I. -IC:/JRuby/lib/native/include -IC:/JRuby/lib/native/include/ruby -I. -DHAVE_VM_CORE_H -DHAVE_VERSION_H -IC:/JRuby/lib/native/include
/ruby-1.9.3-p392 -fno-omit-frame-pointer -fno-strict-aliasing -fexceptions -m64 -march=native -mtune=native -c trace_nums.c
trace_nums.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
您是否安裝了64位'gcc'? – tadman
我抓住了一個http://sourceforge.net/projects/mingw-w64/工具鏈,針對Win 64並安裝。 set path = C:\ Utils \ mingw64 \ x86_64-w64-mingw32 \ bin;%path%set path = C:\ Utils \ mingw64 \ libexec \ gcc \ x86_64-w64-mingw32 \ 4.7.0;%path%copy stdint .h和_mingw.h從C:\ Utils \ mingw64 \ mingw \ include到C:\ JRuby \ lib \ native \ include \ ruby,然後從http://ftp.ruby-lang.org/pub下載ruby源代碼/ruby/1.9/現在我回到原始的錯誤檢查vm_core.h ...沒有 – rupweb
你確定你的32位編譯器不是第一個在你的路徑? – tadman