Re: [INTERFACES] facing problem with ecpg

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: Michael Meskes <Michael_Meskes(at)topmail(dot)de>
Cc: PostgreSQL Interfaces <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: Re: [INTERFACES] facing problem with ecpg
Date: 1999-02-12 06:36:26
Message-ID: 36C3CBEA.CDD7ABDB@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

> The exec sql should be there after running ecpg. ecpg is a
> preprocessor. You have to feed you're source (should be named file.pgc
> BTW) through ecpg before running cc. That is:
> ecpg tryecpg.pgc
> cc -o tryecpg tryecpg.c -lecpg -lpq

Michael, could you add a short section with this info to your ecpg sgml
documentation? Also, perhaps you would want to include an example on how
to set up a makefile with a general production rule.

- Tom

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message MAILER-DAEMON 1999-02-12 08:08:25 Undeliverable Message
Previous Message Michael Meskes 1999-02-12 06:06:52 Re: [INTERFACES] facing problem with ecpg