Author: mysqlpp
Date: Sat Jul 26 18:50:23 2008
New Revision: 2319

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2319&view=rev
Log:
- Split Linux-specific material out of README-Unix.txt into
  README-Linux.txt and expanded it greatly.
- Misc other README tweaks

Added:
    trunk/README-Linux.txt
Modified:
    trunk/README-Unix.txt
    trunk/README.txt

Added: trunk/README-Linux.txt
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/README-Linux.txt?rev=2319&view=auto
==============================================================================
--- trunk/README-Linux.txt (added)
+++ trunk/README-Linux.txt Sat Jul 26 18:50:23 2008
@@ -1,0 +1,25 @@
+For the most part, Linux is just another Unix variant as far as MySQL++
+is concerned.  See README-Unix.txt for most of what you need to know
+to build and use MySQL++.
+
+The biggest Linux-specific hurdle is dealing with the dynamic linker,
+ld.so.  This program is called by the operating system when loading
+an executable to run.  It locates any shared libraries the executable
+uses and links them up so the program will run.  If ld.so it can't
+find libmysqlpp, a program using MySQL++ won't run.  It always looks
+in /lib and /usr/lib for shared libraries, but by default, MySQL++
+installs in /usr/local/lib when you install from source.  You can
+either change the installation directory, or you can clue ld.so in
+to the nonstandard location.
+
+The first thing ld.so looks at when trying to find a library is the
+LD_LIBRARY_PATH environment variable.  This works like the shell's
+PATH variable: a colon-separated list of directories to search.
+This option is best used when you can't use the next option, and
+you can't install in /usr/lib.  (Or /lib, yes, but one would never
+install a library like MySQL++ *there*, would one?)
+
+The best way to tell ld.so about a nonstandard library directory is to
+put it in /etc/ld.so.conf or in one of the files included from there.
+Then, run ldconfig as root to rebuild the cache file ld.so uses to
+find libraries in these nonstandard directories.

Modified: trunk/README-Unix.txt
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/README-Unix.txt?rev=2319&r1=2318&r2=2319&view=diff
==============================================================================
--- trunk/README-Unix.txt (original)
+++ trunk/README-Unix.txt Sat Jul 26 18:50:23 2008
@@ -1,3 +1,18 @@
+Platform Variations
+~~~~~~~~~~~~~~~~~~~
+    This file has instructions that are the same for all Unix variants
+    supported by MySQL++.  For platform-specific details, see the
+    file appropriate to your OS:
+
+        README-Cygwin.txt
+        README-Linux.txt
+        README-Mac-OS-X.txt
+
+    Notable other Unixes supported by MySQL++ are the BSDs and Solaris.
+    As of yet, there are no special instructions for these Unix
+    flavors.
+
+
 Building the Library and Example Programs
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     MySQL++ uses GNU autoconf, so you can build it with the standard
@@ -7,11 +22,6 @@
     $ make
     $ su
     # make install
-
-    On Linux, you also need to run 'ldconfig' as root after installing
-    the library.  You may need to add the library's installation
-    directory to /etc/ld.so.conf before you do this, particularly if
-    you installed to /usr/local.
 
 
 Configure Options

Modified: trunk/README.txt
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/README.txt?rev=2319&r1=2318&r2=2319&view=diff
==============================================================================
--- trunk/README.txt (original)
+++ trunk/README.txt Sat Jul 26 18:50:23 2008
@@ -62,12 +62,13 @@
 ~~~~~~~~~~~~~~~~~~~~
     MySQL++ uses Bakefile (http://bakefile.org/) to generate
     platform-specific project files and makefiles from a single set
-    of input files.  We currently support these platforms:
+    of input files.  We currently support these build systems:
 
     autoconf:
-        For Unixy platforms, including Linux, Mac OS X, and Cygwin. See
-        README-Unix.txt for details.  Supplementary details for Cygwin
-        are in README-Cygwin.txt, and for OS X in README-Mac-OS-X.txt.
+        For Unixy platforms, including Linux, Mac OS X, and Cygwin,
+        in addition to the "real" Unices.  See README-Unix.txt for
+        details.  Supplementary platform-specific details are in
+        README-Cygwin.txt, README-Linux.txt, and README-Mac-OS-X.txt.
 
     MinGW:
         We ship Makefile.mingw for MinGW.  It currently only builds the
@@ -75,9 +76,10 @@
         licensing ramifications.  See README-MinGW.txt for details.
 
     Visual C++:
-        We ship Visual C++ 2003 project files.  This is the oldest
-        version MySQL++ will run on, due to compiler limitations.
-        See README-Visual-C++.txt for more details.
+        We ship Visual Studio 2003, 2005, and 2008 project files.
+        No older version of Visual C++ will build MySQL++, due to
+        compiler limitations.  See README-Visual-C++.txt for more
+        details.
 
     Xcode:
         We ship an Xcode v2 project file.  It hasn't been tested


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

Reply via email to