Re: postgres functions and C++

Поиск
Список
Период
Сортировка
От Christof Petig
Тема Re: postgres functions and C++
Дата
Msg-id 39DF935A.8F655F77@wtal.de
обсуждение исходный текст
Ответ на postgres functions and C++  ("Vladimir V. Zolotych" <gsmith@eurocom.od.ua>)
Список pgsql-hackers
"Vladimir V. Zolotych" wrote:

> Hello all,
>
> Compile with
>   $ g++ -I/usr/local/qt/include -o days.so -shared days.cpp

IIRC you have to compile as days.o and then link to .so:
g++ .... -o days.o
ld -shared -o days.so days.o

I don't know if the compiler gets it right in one line. It might.

Christof




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