From c111edce91ce4aceb898fa4f7e98b9d532c281a5 Mon Sep 17 00:00:00 2001 From: "Kevin M. Rosenberg" Date: Mon, 1 Apr 2002 17:33:49 +0000 Subject: [PATCH] r1715: *** empty log message *** --- doc/intro.sgml | 5 ++++- interfaces/clsql-uffi/Makefile | 6 ++++-- interfaces/mysql/Makefile | 6 ++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/doc/intro.sgml b/doc/intro.sgml index 4ee389e..c215b4a 100644 --- a/doc/intro.sgml +++ b/doc/intro.sgml @@ -139,7 +139,10 @@ files for Microsoft Windows are supplied with the distribution. 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 interfaces/mysql/Makefile 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 make libs diff --git a/interfaces/clsql-uffi/Makefile b/interfaces/clsql-uffi/Makefile index 897001d..8f322b7 100644 --- a/interfaces/clsql-uffi/Makefile +++ b/interfaces/clsql-uffi/Makefile @@ -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 diff --git a/interfaces/mysql/Makefile b/interfaces/mysql/Makefile index d805efc..c21eef5 100644 --- a/interfaces/mysql/Makefile +++ b/interfaces/mysql/Makefile @@ -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 -- 2.34.1