How I can add new function writing on C under Win32 for PostgreSQL v 8.0.1

Поиск
Список
Период
Сортировка
От deeps1
Тема How I can add new function writing on C under Win32 for PostgreSQL v 8.0.1
Дата
Msg-id 623520177.20050205135432@cg.ukrtel.net
обсуждение исходный текст
Список pgsql-committers
Hello pgsql-committers,



How I can compiling and linking Dynamically-Loaded Functions on Win32?

In  Docs describe all platforms BSD , FreeBSD,


Linux for example
The compiler flag to create PIC is -fpic. On some platforms in some situations -fPIC must be used if -fpic does not
work.Refer to the GCC manual for more information. The compiler flag to create a shared library is -shared. A complete
examplelooks like this:  

cc -fpic -c foo.c
cc -shared -o foo.so foo.o

but no describe under Win32 for Postges 8.0.1 under Win32

--
Best regards,
 deeps1                          mailto:deeps@cg.ukrtel.net


В списке pgsql-committers по дате отправления:

Предыдущее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: Spacing: < * Allow the PITR process to be debugged and data
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: If we're gonna check for array overrun, we really should do so