Re: [HACKERS] Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4.

From: Michael Meskes <meskes(at)usa(dot)net>
To: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Problem with interfaces/ecpg/lib/Makefile.in in PostgreSQL 6.4.
Date: 1998-10-19 06:17:03
Message-ID: 19981019081703.A14900@usa.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)Meskes(at)mummert(dot)de | Go Rhein Fire!
Mummert+Partner | private: Michael(dot)Meskes(at)usa(dot)net | Use Debian
Unternehmensberatung AG | Michael(dot)Meskes(at)gmx(dot)net | GNU/Linux!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas G. Lockhart 1998-10-19 07:07:45 Re: [HACKERS] unique indexes and pqlib
Previous Message Billy G. Allie 1998-10-19 06:16:56 Re: [HACKERS] Crashing backend!