Re: [HACKERS] Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4. - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: [HACKERS] Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4.
Date
Msg-id 19981019081703.A14900@usa.net
Whole thread Raw
In response to Re: [HACKERS] Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4.  ("Billy G. Allie" <Bill.Allie@mug.org>)
List pgsql-hackers
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!


pgsql-hackers by date:

Previous
From: Oleg Bartunov
Date:
Subject: cvs problem ?
Next
From: Bruce Momjian
Date:
Subject: Re: Re[2]: [HACKERS] using indexes