On Sat, Oct 17, 1998 at 07:18:22PM -0400, Billy G. Allie wrote:
> If the system is one that supports building shared libraries, then the
> variable CFLAGS is modified as follows: CFLAGS += $(CFLAGS_SL). This occurs
> within the IF statement for setting up support for shared libraries for the
> particular system. Therefore, the *.o files are also compiled with the flag
> for position independant code (PIC). This does not affect there use in a
Correct so far.
> static library, but does make it possible to use them in the dynamic
> libraries. If the system for which postgreSQL is being built is not one of
Yes, they can be used. But the static library is better off without the
-fpic flag.
Michael
--
Dr. Michael Meskes | Th.-Heuss-Str. 61, D-41812 Erkelenz | Go SF49ers!
Senior-Consultant | business: Michael.Meskes@mummert.de | Go Rhein Fire!
Mummert+Partner | private: Michael.Meskes@usa.net | Use Debian
Unternehmensberatung AG | Michael.Meskes@gmx.net | GNU/Linux!