Обсуждение: Compiling libpq

Поиск
Список
Период
Сортировка

Compiling libpq

От
fabian baena
Дата:
I need to compile a �C� program with the libpq library but I don�t know what
commands do I have to write in the linux shell to do this.
Thank you.


Fabian.


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Re: [GENERAL] Compiling libpq

От
Oleg Broytmann
Дата:
Hi!

On Tue, 8 Jun 1999, fabian baena wrote:
> I need to compile a ╢C╢ program with the libpq library but I don╢t know what
> commands do I have to write in the linux shell to do this.
> Thank you.

   This is the least:

cc myprogram.c -o myprog -lpq

   My be you'll need to add some libs (-lcrypt, e.g.)...

> Fabian.

Oleg.
----
    Oleg Broytmann     http://members.xoom.com/phd2/     phd2@earthling.net
           Programmers don't die, they just GOSUB without RETURN.