Author: wyoung
Date: Mon Jan 28 23:05:58 2013
New Revision: 2718

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2718&view=rev
Log:
Updated the Windows READMEs to reflect the recent build system changes

Modified:
    trunk/README-MinGW.txt
    trunk/README-Visual-C++.txt

Modified: trunk/README-MinGW.txt
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/README-MinGW.txt?rev=2718&r1=2717&r2=2718&view=diff
==============================================================================
--- trunk/README-MinGW.txt (original)
+++ trunk/README-MinGW.txt Mon Jan 28 23:05:58 2013
@@ -3,35 +3,51 @@
     If your MinGW version isn't using at least GCC 3.4.5, it needs
     to be updated.  Older versions are known to not work with MySQL++.
 
+    As of MySQL++ 3.1.1, the required version might need to be even
+    newer, as we are now depending on improvements to the MinGW linker
+    which probably don't go back that far.
+
 
 Prerequisite: MySQL C Development Files
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-    MySQL++ is built atop MySQL's C API library, so you need to have
-    MySQL installed on your development system to get the current C API
-    development files.
+    MySQL++ is built atop MySQL's C API library.  The easiest way to
+    get that is to install Connector/C on your development system,
+    which you can download from mysql.com.  The distribution assumes
+    these files are in:
 
-    If you do a default installation of MySQL, the development files
-    probably won't be installed. As of this writing you have to do
-    either a Complete or Custom install to get these files.  (They keep
-    changing the way the Windows installer works, so this may not be
-    true any more by the time you read this.)
+        C:\Program Files\MySQL\MySQL Connector C 6.0.2\
 
-    The MySQL++ Makefile assumes that you installed MySQL in
+    There are a number of reasons why that path may not work for you:
+
+      - You have a newer version of Connector/C installed
+
+      - You're on a 64-bit system, but have the 32-bit versions of
+        Connector/C and MinGW installed and wish to build a 32-bit
+        binary.  In that case, the path will look like this instead:
+
+          C:\Program Files (x86)\MySQL\MySQL Connector C 6.0.2\
+
+      - You may have the MySQL Server on your system and installed the
+        development files along with it, and therefore don't want to
+        install Connector/C separately.  In that case, the path will
+        look like this instead:
+
+          C:\Program Files\MySQL\MySQL Server 5.5\
     
-        C:\Program Files\MySQL\MySQL Server 5.0\
-    
-    If not, you have two options.
+    Regardless of the reason you have for changing this path, there are
+    two ways that work:
 
-    The simplest is to edit Makefile.mingw.  This is a generated file,
-    but if that's the only change to MySQL++ you need, it works fine.
+      - The easy way is to do a global search and replace on the path
+        in Makefile.mingw.  This is a generated file, but if that's the
+        only change to MySQL++ you need, it works fine.
 
-    If you're doing deeper work on MySQL++, you should change the
-    variable MYSQL_WIN_DIR at the top of mysql++.bkl instead.  Then to
-    generate Makefile.mingw from that file, you will need the Win32
-    port of Bakefile from http://bakefile.org/  The command to do
-    that is:
-
-        bakefile_gen -f mingw
+      - If you're doing deeper work on MySQL++, you should change the
+        MYSQL_WIN_DIR variable at the top of mysql++.bkl instead.
+        
+        Having done that, you can generate Makefile.mingw from that
+        file using the Windows port of Bakefile (http://bakefile.org/):
+        
+          bakefile_gen -f mingw
 
 
 Building the Library and Example Programs

Modified: trunk/README-Visual-C++.txt
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/README-Visual-C%2B%2B.txt?rev=2718&r1=2717&r2=2718&view=diff
==============================================================================
--- trunk/README-Visual-C++.txt (original)
+++ trunk/README-Visual-C++.txt Mon Jan 28 23:05:58 2013
@@ -1,6 +1,12 @@
 Visual C++ Version Compatibility
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     MySQL++ is fully functional with Visual C++ 2005 and 2008.
+
+    It should be possible to get it to build with newer versions
+    of Visual C++, but support for it doesn't come out of the box,
+    due to the change to MSBuild.  You should start by opening
+    the Visual C++ 2008 solution file and letting it automatically
+    convert that and all the project files.
 
     MySQL++ also works with VC++ 2003 (a.k.a. VC++ 7.1), with the
     exception of the SSQLS feature.  There was partial support for
@@ -53,22 +59,26 @@
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     The Visual Studio project files that come with MySQL++ have
     everything set up correctly for the common case.  The biggest
-    assumption in the settings is that you're using MySQL 5.0
-    (the newest version considered suitable for production use
-    at the time of this writing) and that you installed it in
-    the default location:
+    assumption in the settings is that you're building against the
+    current stable version of Connector/C, which gets installed here
+    at the time of this writing:
 
-        C:\Program Files\MySQL\MySQL Server 5.0\
+        C:\Program Files\MySQL\MySQL Connector C 6.0.2\
 
     If you installed a different version, or it's in a different
-    directory, you need to change the project file settings to
-    reference the C API development files in that other location.
-    There are two ways to do this.
+    directory, or you've installed the development files as part of
+    MySQL Server on the same machine, you need to change the project
+    files to reference the C API development files in that other
+    location.  There are two ways to do this.
 
-    The hard way is to make 4 different changes to 39 separate
+    The hard way is to make 4 different changes each to 39 separate
     project files.  If you're a talented Visual Studio driver, you
     can do this in as little as about 5 or 6 steps.  You might even
     get it right the first time.
+
+    The somewhat easier way is to open all these files in a text
+    editor that lets you make a global search and replace on all
+    open files.
 
     The easy way is to install Bakefile (http://bakefile.org/),
     change the value of the MYSQL_WIN_DIR variable near the top of


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

Reply via email to