------art_42785_27925094.1171046821536
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi
I am trying to compile the 1.8.5 code with VC++ express 2005 SP1 and Windows
platform SDK 2003 R2
I have pass the compile, 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----------------------------------------------

I have managed 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 `...`

Please suggest ways get rid off this. Thanks

------art_42785_27925094.1171046821536
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi<br>I am trying to compile the 1.8.5 code with VC++ express 2005 SP1 and Windows platform SDK 2003 R2<br>I have pass the compile, when it run miniruby, coredump happens.<br>----------------&gt;8-----------------------------------------------
<br>miniruby ./win32/mkexports.rb:9: [BUG] Segmentation fault<br>ruby 1.8.5 (2007-01-31) [i386-mswin32_80]<br>----------------&gt;8----------------------------------------------<br><br>I have managed to &quot;bypass&quot; the error.&nbsp; The problem seems like whenever
<br>the miniruby trying to call a &quot;popen&quot; kind of things it will die.<br>The 9th line of the mkexports is actually<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IO.foreach(&quot;|dumpbin -symbols &quot; + objs.join(&#39; &#39;)) do |l|<br><br>
I generate a static file with the command line of dumpbin, and let<br>IO.foreach read this file, then the compilation go through.<br><br>Again when do nmake test, it will fail at the execute quote `...` <br><br>Please suggest ways get rid off this. Thanks
<br><br>

------art_42785_27925094.1171046821536--