Re: [GENERAL] Writing C functions

Поиск
Список
Период
Сортировка
От Alexey Vyskubov
Тема Re: [GENERAL] Writing C functions
Дата
Msg-id 20000124023610.A17280@byte-unix.piter-press.ru
обсуждение исходный текст
Ответ на Writing C functions  (Jeff Davis <jeff95350@yahoo.com>)
Список pgsql-general
> After you have written a functions.c file, how do you
> compile it how postgres wants it with gcc?

Well. It depends on your OS.
Under OpenBSD works

gcc -fpic -c -o file.o file.c
ld -Bshareable -o file.so file.c

info gcc should help you.

--
Alexey

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

Предыдущее
От: "Ed Bras"
Дата:
Сообщение: RE: Where is the Database log file ?
Следующее
От: Jeff Davis
Дата:
Сообщение: More C function questions