Re: [GENERAL] Compile

Поиск
Список
Период
Сортировка
От Simon Drabble
Тема Re: [GENERAL] Compile
Дата
Msg-id Pine.LNX.3.95.990306091436.22103F-100000@localhost
обсуждение исходный текст
Ответ на Compile  ("Andrei de Oliveira Mosman" <commitman@digitalnet.com.br>)
Список pgsql-general
On Sat, 6 Mar 1999, Andrei de Oliveira Mosman wrote:

> Hi, I'm using PostgreSQL running under Linux and I must to know the command line to compile my program and link  with
libpq.
>
> Tkx !
>
>

simply include the -lpq flag in the compiler command, e.g.

cc myprog.c -o myprog -lpq

(or add it to your makefile in the same way)

Simon.


--
  "Life should come with an `Undo' button."

   Simon Drabble                  madlather@syspac.com


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

Предыдущее
От: "Sergei Chernev"
Дата:
Сообщение: Re: [GENERAL] Compile
Следующее
От: hoelc
Дата:
Сообщение: date & time