Author: wyoung
Date: Wed Apr 5 06:44:37 2006
New Revision: 1290
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1290&view=rev
Log:
Removed "Limitations" sections from README.cygwin and README.mingw, and
did minor rewrites on what remained.
Modified:
trunk/README.cygwin
trunk/README.mingw
Modified: trunk/README.cygwin
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/README.cygwin?rev=1290&r1=1289&r2=1290&view=diff
==============================================================================
--- trunk/README.cygwin (original)
+++ trunk/README.cygwin Wed Apr 5 06:44:37 2006
@@ -1,22 +1,3 @@
-Limitations
-~~~~~~~~~~~
- At the moment, Cygwin can only build a static version of
- MySQL++. The practical upshot of this is that Cygwin can
- only be used to build LGPL or GPL-licensed MySQL++ programs.
- Unless you're one of the few that have a commercial Cygwin
- license, you are already under this restriction because
- your programs must be GPL-licensed in this case anyway.
- (See http://www.redhat.com/software/cygwin/ for details.)
-
- If your program is under some other license and you do not
- have a commercial Cygwin license, you must use Visual C++.
-
- If the cost is the only thing keeping you from using
- Visual C++, there are free versions of VC++ available.
- See the Visual C++ item in the MySQL++ FAQ for details:
- http://tangentsoft.net/mysql++/#faq
-
-
Prerequisite: Build MySQL
~~~~~~~~~~~~~~~~~~~~~~~~~
Before you can build MySQL++, you need to build the MySQL
@@ -48,15 +29,5 @@
Building the Library and Example Programs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Now that the MySQL client library is built and installed,
- you can build MySQL++. The only trick is that you have to
- pass the proper flag to the configure script to make it build
- a static version of MySQL++ only.
-
- The simplest set of commands for this is:
-
- $ ./configure --disable-shared
- $ make
- $ make install
-
- For more on configure script options, see README.unix.
+ With that done, you can build MySQL++ just as you would most
+ other Unix programs. See README.unix for details.
Modified: trunk/README.mingw
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/README.mingw?rev=1290&r1=1289&r2=1290&view=diff
==============================================================================
--- trunk/README.mingw (original)
+++ trunk/README.mingw Wed Apr 5 06:44:37 2006
@@ -1,36 +1,18 @@
-Limitations
-~~~~~~~~~~~
- Currently, MinGW can only build a static version of MySQL++.
- Legally speaking, this means that you can only use MySQL++ in
- programs with LGPL-compatible license. This wouldn't be the
- case if we could get MinGW to build a DLL version of MySQL++.
- The effort to make it build a DLL has stalled due to lack
- of interest from the major maintainers. We will, however,
- accept patches if someone manages to get it working.
-
- If you are not willing to contribute to that effort, I
- recommend that you switch to Visual C++, which builds a DLL
- version of MySQL++ without fuss. (And no, you cannot link a
- Visual C++ DLL containing C++ code to a MinGW program; only
- C DLLs are compatible across toolchains.)
-
- If the cost is the only thing keeping you from using
- Visual C++, there are free versions of VC++ available.
- See the Visual C++ item in the MySQL++ FAQ for details:
- http://tangentsoft.net/mysql++/#faq
-
-
-Building the Library and Example Programs
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- First, you will need to create a MinGW-compatible import
+Prerequisite: Create 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. Assuming you installed MySQL in c:\mysql and MySQL++
in c\mysql++, the commands to do this are:
mkdir c:\mysql\lib\opt
cd c:\mysql\lib\opt
dlltool -k -d c:\mysql++\libmysqlclient.def -l libmysqlclient.a
-
- Now you can build the library with this command:
+
+
+Building the Library and Example Programs
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ Now you can build MySQL++ with this command:
mingw32-make -f Makefile.mingw
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits