On Feb 9, 7:53 pm, "zm" <zhimin.... / gmail.com> wrote:
> Hi,
> Have anybody tried to compile the 1.8.5 code with VC++ express 2005
> SP1 and Windows platform SDK 2003 R2? I have pass the compile. And
> when it run miniruby, coredump happens.
> ---------------->8-----------------------------------------------
> miniruby ./win32/mkexports.rb:9: [BUG] Segmentation fault
> ruby 1.8.5 (2007-01-31) [i386-mswin32_80]
> ---------------->8----------------------------------------------
>
> Both the stable version and the snapshot version have this problem. I
> am running the compilation on XP SP2.
>
> Any help will be greatly appreciated!

I have manage to "bypass" the error.  The problem seems like whenever
the miniruby trying to call a "popen" kind of things it will die.
The 9th line of the mkexports is actually
            IO.foreach("|dumpbin -symbols " + objs.join(' ')) do |l|

I generate a static file with the command line of dumpbin, and let
IO.foreach read this file, then the compilation go through.

Again when do nmake test, it will fail at the execute quote `...`

Has anybody got the same issue here?