Author: wyoung
Date: Fri Jan 10 00:05:12 2014
New Revision: 2764

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2764&view=rev
Log:
Updated Cygwin related docs that talked about building the C API library
from source.  That isn't necessary any more, so reworked the text to
treat Cygwin more like any other *ix.

Modified:
    trunk/README-Cygwin.txt
    trunk/doc/userman/threads.dbx

Modified: trunk/README-Cygwin.txt
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/README-Cygwin.txt?rev=2764&r1=2763&r2=2764&view=diff
==============================================================================
--- trunk/README-Cygwin.txt (original)
+++ trunk/README-Cygwin.txt Fri Jan 10 00:05:12 2014
@@ -1,26 +1,22 @@
-Prerequisite: Build MySQL
-~~~~~~~~~~~~~~~~~~~~~~~~~
-    Before you can build MySQL++, you need to build the MySQL client
-    library from source.  You're welcome to try linking MySQL++ to the
-       native MySQL client libraries instead, but if you have problems with
-       it, don't expect any support on the mailing list.
-       
-       You do not need to build a Cygwin version of the MySQL server.  It's
-       still best to use the native Windows version of that.
-
-    Older versions of MySQL do not build cleanly out of the box on
-    Cygwin.  This has been fixed recently.  I tested these instructions
-    on 5.0.67, with a contemporaneous version of Cygwin 1.5.x.
-
-    You can build it with the standard configure && make && make install
-    sequence, but a better configure command for this purpose is:
-
-    $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-        --infodir=/usr/share/info --mandir=/usr/share/man \
-        --disable-shared --without-{debug,readline,libedit,server}
-
-
-Building the Library and Example Programs
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-    With that done, you can build MySQL++ just as you would any other
-    typical Unix program.  See README-Unix.txt for details.
+Prerequisite: Install MySQL
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
+    Before you can build MySQL++, you need to install the
+    libmysqlclient-devel package with Cygwin's setup.exe.
+
+       In the past, you had to build MySQL from source, since
+       there was no reliable place to get a binary version of the
+       client library for Cygwin.  If you must still do this for
+       some reason, here's a hint on how to build just the client
+       library, since you probably will be running either a native
+       Windows version of the server, or have the server installed
+       on another machine entirely:
+
+    $ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+        --infodir=/usr/share/info --mandir=/usr/share/man \
+        --disable-shared --without-{debug,readline,libedit,server}
+
+
+Building the Library and Example Programs
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+    Having done that, Cygwin behaves like any other Unixy system.
+       See the instructions in README-Unix.txt.

Modified: trunk/doc/userman/threads.dbx
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/threads.dbx?rev=2764&r1=2763&r2=2764&view=diff
==============================================================================
--- trunk/doc/userman/threads.dbx (original)
+++ trunk/doc/userman/threads.dbx Fri Jan 10 00:05:12 2014
@@ -68,10 +68,11 @@
         <para><emphasis>Link your program to a thread-aware build of the
         MySQL C API library.</emphasis></para>
 
-        <para>If you use a binary distribution of MySQL on Unixy
-        systems, you usually get two different versions of the MySQL
-        C API library, one with thread support and one without. These
-        are typically called <filename>libmysqlclient</filename> and
+        <para>If you use a binary distribution of MySQL on
+        Unixy systems (including Cygwin) you usually get
+        two different versions of the MySQL C API library,
+        one with thread support and one without. These are
+        typically called <filename>libmysqlclient</filename> and
         <filename>libmysqlclient_r</filename>, the latter being the
         thread-safe one. (The &#x201C;<filename>_r</filename>&#x201D;
         means reentrant.)</para>
@@ -86,9 +87,7 @@
         <para>If you build MySQL from source, you might only get
         one version of the MySQL C API library, and it can have
         thread awareness or not, depending on your configuration
-        choices. This is the case with Cygwin, where you currently
-        have no choice but to build the C API library from source. (See
-        <filename>README-Cygwin.txt</filename>.)</para>
+        choices.</para>
       </listitem>
 
       <listitem>


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to