ECPG & Mac OS X

From: "Richard Connamacher" <rich(dot)n1(at)indieimage(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: ECPG & Mac OS X
Date: 2004-09-15 05:28:14
Message-ID: 200409150528.i8F5SEqS023375@indieimage.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I was looking through the docs, ECPG looks like a great tool for developing client
applications.

Anyone know if it's possible to set it up for use with Objective C in XCode on Mac OS X?
XCode allows you to set your own custom build tool, which I could replace with a shell script
that calls ecpg, saves a converted file, which it then passes that on to gcc. What I don't know
if if this'll screw up any of XCode's IDE features - such as, will line numbers of errors
reported by gcc match up with line numbers in the source file, which XCode uses to hilite
lines with errors?

Also, anyone know if it can parse Objective C files? They're basically identical to c language
files, with two added constructs: method calls, which are surrounded by brackets:

String *helloText = [String stringWithCString:"Hello"];

and objective c directives, which all begin with a '@':

String *moreHelloText = @"Hello again";

Will this conflict with ecpg's ability to parse a file?

Thanks,
Rich

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2004-09-15 06:07:08 Re: disk performance benchmarks
Previous Message Tom Lane 2004-09-15 05:00:33 Re: 8.0.0 beta 2, void type