Re: postgres.h - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: postgres.h
Date
Msg-id 20031106032415.GB1340@tishler.net
Whole thread Raw
In response to Re: postgres.h  ("Nupur Pande" <npande@vt.edu>)
List pgsql-cygwin
Nupur,

On Wed, Nov 05, 2003 at 05:12:04PM -0500, Nupur Pande wrote:
> Could you please give me precise directions?

Use the following (after installing all necessary Cygwin packages):

    $ wget -P /tmp http://mirrors.rcn.net/pub/sourceware/cygwin/release/postgresql/postgresql-7.3.4-2-src.tar.bz2
    $ tar -xjf /tmp/postgresql-7.3.4-2-src.tar.bz2
    $ cd postgresql-7.3.4-2
    $ configure --enable-multibyte --prefix=/usr
    $ make
    $ cp src/backend/libpostgres.a /usr/lib

Now you can just add -lpostgres to your link command line.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

pgsql-cygwin by date:

Previous
From: "Nupur Pande"
Date:
Subject: Re: postgres.h
Next
From: "Nupur Pande"
Date:
Subject: Re: postgres.h