C
Curt Hibbs
Hi,
At Thu, 28 Apr 2005 01:39:26 +0900,
Lothar Scholz wrote in [ruby-talk:140089]:
CH> Hmmm.... looks like I need to start building *all* extensions from
CH> source to ensure this.
Use a tool like the "depends.exe" from older MSVC versions and look
what DLL's are required. You don't need to rebuild all extensions.
$ ruby -e 'Dir["**/*.{dll,so}"].each {|so|
IO.popen("dumpbin -imports #{so}"){|f|
f.grep(/^\s*(ms\w+\.dll)\s*$/i){
dll=$1;puts "#{so}: #{dll}" if /msvcr71/i !~ dll
}
}
}'
bin/libeay32.dll: MSVCRT.dll
bin/libssl32.dll: MSVCRT.dll
bin/msvcp60.dll: MSVCRT.dll
bin/ssleay32.dll: MSVCRT.dll
bin/tcl83.dll: MSVCRT.dll
bin/tclpip83.dll: MSVCRT.dll
bin/tk83.dll: MSVCRT.dll
bin/zlib1.dll: MSVCRT.dll
lib/tcl8.3/dde1.1/tcldde83.dll: MSVCRT.dll
lib/tcl8.3/reg1.0/tclreg83.dll: MSVCRT.dll
freeride/redist/i386-mswin32/ripper.so: MSVCRT.dll
lib/ruby/gems/1.8/gems/fxruby-1.2.6-mswin32/ext/fox12/fox12.so: MSVCRT.dll
lib/ruby/gems/1.8/gems/fxruby-1.2.6-mswin32/ext/fox12/fox12.so: MSVCP60.dll
lib/ruby/site_ruby/1.8/i386-msvcrt/glut.so: MSVCRT.dll
lib/ruby/site_ruby/1.8/i386-msvcrt/opengl.so: MSVCRT.dll
And, why zlib.so is under site_ruby?
Good question... I'll find out. Thanks for the list.
Curt