Re: [HACKERS] linux, bsd, i386-solaris and univel shared libraries.
| От | Michael Meskes |
|---|---|
| Тема | Re: [HACKERS] linux, bsd, i386-solaris and univel shared libraries. |
| Дата | |
| Msg-id | 199804241133.NAA12709@gauss.topsystem.de обсуждение |
| Ответ на | Re: [HACKERS] linux, bsd, i386-solaris and univel shared libraries. (Alen Zekulic <azekulic@fesb.hr>) |
| Список | 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@topsystem.de | Europark A2, Adenauerstr. 20 meskes@debian.org | 52146 Wuerselen Go SF49ers! Go Rhein Fire! | Tel: (+49) 2405/4670-44 Use Debian GNU/Linux! | Fax: (+49) 2405/4670-10
В списке pgsql-hackers по дате отправления: