Author: wyoung
Date: Mon Jan 7 19:00:13 2008
New Revision: 2106
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2106&view=rev
Log:
MinGW readme tweaks
Modified:
trunk/README-MinGW.txt
Modified: trunk/README-MinGW.txt
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/README-MinGW.txt?rev=2106&r1=2105&r2=2106&view=diff
==============================================================================
--- trunk/README-MinGW.txt (original)
+++ trunk/README-MinGW.txt Mon Jan 7 19:00:13 2008
@@ -1,14 +1,11 @@
-MinGW Version
-~~~~~~~~~~~~~
- You need a fairly recent version of MinGW for MySQL++ to work.
- As I write this, the current release version includes GCC 3.4.2,
- which has known problems. Unless they've released a newer version
- since I wrote this, you'll probably need to install the "candidate"
- version for best compatibility.
+Prerequisite: GCC Version
+~~~~~~~~~~~~~~~~~~~~~~~~~
+ 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++.
-Prerequisite: Create Import Library
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Prerequisite: MySQL C API DLL Import Library
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Before you can build MySQL++ with MinGW, you will need to create
a MinGW-compatible import library for MySQL's C API library.
Using the current default install path for MySQL and assuming
@@ -20,9 +17,15 @@
Prerequisite: MySQL C Development Files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- You'll also need to have MySQL installed, including all the MySQL C
- development files; MySQL++ is built atop this library. If it isn't
- in C:\Program Files\MySQL\MySQL Server 5.0\ you have two options.
+ You'll also need to have MySQL installed, including all the
+ MySQL C development files; MySQL++ is built atop this library.
+ The MySQL server installer has, in the past, sometimes installed
+ these by default, and sometimes not. You may need to do a custom
+ install to get them.
+
+ The MySQL++ Makefile assumes that you installed the MySQL
+ development files in C:\Program Files\MySQL\MySQL Server 5.0\
+ If not, you have two options.
The simplest is to edit Makefile.mingw. This is a generated
file, but if that's all the only change to MySQL++ you need,
@@ -39,13 +42,14 @@
Building the Library and Example Programs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Now you can build MySQL++ with this command:
-
+ With the prerequisites above taken care of, you can build MySQL++
+ with this command:
+
mingw32-make -f Makefile.mingw
Notice that we're using the MinGW-specific version of GNU make,
- not the Cygwin or MSYS versions. This is required, to get proper
- path separator handling.
+ not the Cygwin or MSYS versions. Many things will break otherwise:
+ path separator handling, shell commands used by the Makefile, etc.
Once the library is built, you should run the examples.
At minimum, run resetdb and simple1.
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits