r1715: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 1 Apr 2002 17:33:49 +0000 (17:33 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Mon, 1 Apr 2002 17:33:49 +0000 (17:33 +0000)
doc/intro.sgml
interfaces/clsql-uffi/Makefile
interfaces/mysql/Makefile

index 4ee389efd7bb264db0537600f8b90353c089f74d..c215b4adf06900b5b4211e7859c62235720bd4a4 100644 (file)
@@ -139,7 +139,10 @@ files for Microsoft Windows are supplied with the distribution.</para>
 <para>To build the libraries on a GNU or Solaris, use the shell and
 change to the root directory of &clsql;. You may need to edit the file
 <filename>interfaces/mysql/Makefile</filename> to specify the location of your
-MySQL installation. Then, you can give the command
+MySQL installation. The default Makefiles are setup for shared library
+linking on Linux. If you are using FreeBSD or Solaris, you will need
+to change the linker setting as instructed in the Makefile. 
+Then, you can give the command
 <programlisting>
 make libs
 </programlisting>
index 897001d033ac8e04567fc7d97b1c3d73a9ef354a..8f322b7d278690897b6d2db1637d2ce766257ba9 100644 (file)
@@ -7,7 +7,7 @@
 #  Programer:    Kevin M. Rosenberg
 #  Date Started: Mar 2002
 #
-#  CVS Id:   $Id: Makefile,v 1.2 2002/04/01 05:27:55 kevin Exp $
+#  CVS Id:   $Id: Makefile,v 1.3 2002/04/01 17:33:48 kevin Exp $
 #
 # This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
 #
@@ -22,7 +22,9 @@ AR=ar
 # you'll need to modify these for other compilers
 CC=gcc
 SHARED_CC_OPT=-fpic
-SHARED_LD_OPT=-shared
+
+SHARED_LD_OPT=-shared # For Linux
+#SHARED_LD_OPT=-r # For FreeBSD and Solaris
 
 # If you are using Solaris, these are the correct values
 # for creating a shared library
index d805efc00fcee1dc5ec0457bf30ef3e1688eefed..c21eef51cf337d036248f1e7e4ef24ba506b833e 100644 (file)
@@ -7,7 +7,7 @@
 #  Programer:    Kevin M. Rosenberg
 #  Date Started: Mar 2002
 #
-#  CVS Id:   $Id: Makefile,v 1.2 2002/04/01 05:27:55 kevin Exp $
+#  CVS Id:   $Id: Makefile,v 1.3 2002/04/01 17:33:49 kevin Exp $
 #
 # This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
 #
@@ -22,7 +22,9 @@ AR=ar
 # you'll need to modify these for other compilers
 CC=gcc
 SHARED_CC_OPT=-fpic
-SHARED_LD_OPT=-shared
+
+SHARED_LD_OPT=-shared # For Linux
+#SHARED_LD_OPT=-r # For FreeBSD and Solaris
 
 # If you are using Solaris, these are the correct values
 # for creating a shared library