| From: | Michael Meskes <meskes(at)topsystem(dot)de> |
|---|---|
| To: | azekulic(at)fesb(dot)hr (Alen Zekulic) |
| Cc: | pgsql-hackers(at)postgresql(dot)org (PostgreSQL Hacker) |
| Subject: | Re: [HACKERS] linux, bsd, i386-solaris and univel shared libraries. |
| Date: | 1998-04-24 11:33:05 |
| Message-ID: | 199804241133.NAA12709@gauss.topsystem.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Alen Zekulic writes:
> > CFLAGS_SL: -fpic
> ^^^^
> The shared library must be compiled with `-fPIC', and the static version
> must not be. In other words, each `*.c' file is compiled twice.
Normaly yes. But I didn't see this in any PostgreSQL makefile. I think using
-fPIC still creates a working static library. It does generate less
efficient code though.
> Take a look at the debian policy manual :-)).
:-)
> Here is the patch against the `ecpg/lib/Makefile.in'.
Applied to my source. I think we should add a similar patch to
libpq/Makefile and whatever else creates shared libs.
Michael
--
Dr. Michael Meskes, Project-Manager | topsystem Systemhaus GmbH
meskes(at)topsystem(dot)de | Europark A2, Adenauerstr. 20
meskes(at)debian(dot)org | 52146 Wuerselen
Go SF49ers! Go Rhein Fire! | Tel: (+49) 2405/4670-44
Use Debian GNU/Linux! | Fax: (+49) 2405/4670-10
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Vazsonyi Peter[ke] | 1998-04-24 13:42:08 | create operator problem |
| Previous Message | Alen Zekulic | 1998-04-24 11:28:10 | Re: [HACKERS] linux, bsd, i386-solaris and univel shared libraries. |