aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql++/files/README
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2000-07-21 05:06:59 +0000
committerWill Andrews <will@FreeBSD.org>2000-07-21 05:06:59 +0000
commit9e46214234af64cef453dd0cb06ca5f27a1fa5e3 (patch)
tree1444a13a95c049de946298e55ac70cc40676031a /databases/mysql++/files/README
parent26cbbf47c8d739d0a6e9c8f6d6418229555fdddc (diff)
Add mysql++, a C++ library API to MySQL.
PR: 20063 Submitted by: Miklos Niedermayer <mico@bsd.hu> Apologies to: Mikhail Teterin <mi@aldan.algebra.com>, for never finishing work on his mysql++ port in PR 17588. :-(
Diffstat (limited to 'databases/mysql++/files/README')
-rw-r--r--databases/mysql++/files/README25
1 files changed, 25 insertions, 0 deletions
diff --git a/databases/mysql++/files/README b/databases/mysql++/files/README
new file mode 100644
index 000000000000..e73f4e71c1fd
--- /dev/null
+++ b/databases/mysql++/files/README
@@ -0,0 +1,25 @@
+
+
+If you haven't met mysql++ before, please take a look at the documentation
+in ../../doc/mysql++ before trying to play with these examples. Thank you.
+
+
+To compile a mysql++ program,
+
+ o you have to have libmysqlclient installed on your system
+ (it's in FreeBSD port mysql-client)
+
+ o you have to link your programs with the sqlplus library
+
+ o you have to add "-D_FIX_FOR_BSD_" to your CXXFLAGS environment
+
+
+For example, you can try to compile simple1.cc with something like this
+
+c++ -D_FIX_FOR_BSD_ -I/usr/local/include/mysql -L/usr/local/lib -lsqlplus simple1.cc -o simple1
+
+
+Happy mysql++'ing.
+
+ -Miklos Niedermayer (mico@bsd.hu)
+