Re: [GENERAL] Compile

From: Simon Drabble <simon(at)syspac(dot)com>
To: Andrei de Oliveira Mosman <commitman(at)digitalnet(dot)com(dot)br>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Compile
Date: 1999-03-06 14:15:30
Message-ID: Pine.LNX.3.95.990306091436.22103F-100000@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)syspac(dot)com

In response to

  • Compile at 1999-03-06 12:27:41 from Andrei de Oliveira Mosman

Browse pgsql-general by date

  From Date Subject
Next Message hoelc 1999-03-06 17:20:23 date & time
Previous Message Sergei Chernev 1999-03-06 12:57:33 Re: [GENERAL] Compile