<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Shugo's Blog comments on Building MySQL/Ruby on mswin32</title>
    <link>http://blog.shugo.net/</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Shugo's Blog comments</description>
    <item>
      <title>"Building MySQL/Ruby on mswin32" by shugo</title>
      <description>&lt;p&gt;I created a &lt;a href="http://shugo.net/tmp/mysql-ruby-2.7.1.diff"&gt;patch&lt;/a&gt;
 to build MySQL/Ruby on mswin32.
With this patch, just type:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;gt; ruby extconf.rb --with-opt-include=../mysql-4.1.21-win32/include \
                  --with-opt-lib=../mysql-4.1.21-win32/lib/opt
&amp;gt; nmake
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then you'll get mysql.so. Really easy.&lt;/p&gt;

&lt;p&gt;If libmysql.dll is built by VC7 or later, there may be a problem with GC.
It depends on whether MySQL/Ruby releases memory allocated by libmysql.dll using free()/xfree() or not.&lt;/p&gt;

</description>
      <pubDate>Mon, 25 Sep 2006 06:30:00 JST</pubDate>
      <guid>&lt;a href="/articles/2006/09/25/building-mysql-ruby-on-mswin32"&gt;Building MySQL/Ruby on mswin32&lt;/a&gt;</guid>
      <link>&lt;a href="/articles/2006/09/25/building-mysql-ruby-on-mswin32"&gt;Building MySQL/Ruby on mswin32&lt;/a&gt;</link>
    </item>
  </channel>
</rss>
