X-Original-To: pgsql-interfaces-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id A9D659FA5BA for ; Sat, 10 Jun 2006 08:31:05 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 38232-10 for ; Sat, 10 Jun 2006 08:30:56 -0300 (ADT) X-Greylist: delayed 00:12:35.91807 by SQLgrey- Received: from pye-srv-01.telemetry.co.uk (kdgmtbu.demon.co.uk [194.222.45.178]) by postgresql.org (Postfix) with ESMTP id 67EFD9F9AD3 for ; Sat, 10 Jun 2006 08:30:54 -0300 (ADT) Received: from pye-srv-01.telemetry.co.uk (IDENT:2@localhost [127.0.0.1]) by pye-srv-01.telemetry.co.uk (8.12.4/8.12.4) with ESMTP id k5ABIG0u012190 for ; Sat, 10 Jun 2006 11:18:16 GMT Received: (from daemon@localhost) by pye-srv-01.telemetry.co.uk (8.12.4/8.12.4/Submit) id k5ABIGN5012189; Sat, 10 Jun 2006 11:18:16 GMT From: Mark Morgan Lloyd Subject: Re: Building psql.exe using the free Borland compiler Date: Sat, 10 Jun 2006 11:18:14 +0000 Organization: KDG Telemetry Message-ID: <448AAA76.93394F5C@telemetry.co.uk> References: <200606061618.k56GI3k04786@candle.pha.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: pgsql-interfaces@PostgreSQL.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/11 X-Sequence-Number: 6152 Bruce (et al.), sorry- I've only just spotted the activity. I've only got the one version of the compiler, and since apart from Delphi I have very little Windows development stuff set up (in particular I am not a C/C++ programmer, and I'm trying to avoid Cygwin since it can mess up Lazarus) I've got limited scope for tinkering. I'll try and test the revised version as soon as I am able and will obviously report back if there are problems- together with any fixes if I'm able to work out what's going wrong. I'd add here that I am indebted to a couple of more experienced C men on CIX for a hint that enabled me to hack the _pclose problem, although there may be issues relating to other versions of the compiler- that's one reason why I modified the source rather than trying to fix things in the makefile. Keep up the good work and hopefully I've been able to make some tiny contribution :-) Bruce Momjian wrote: > > With no report back from markMLl, I have changed the BCC code to use "" > rather than \"\". Backpatched to 8.1.X. > > --------------------------------------------------------------------------- > > ljb wrote: > > pgman@candle.pha.pa.us wrote: > > >... > > > As far as echo, I think you are right that the Win32 command processor > > > is the one handling that, but I assumed the backslashes were handled by > > > the Makefile, hence the need for \#. > > > > Sort of. It looks to me like \# is handled by make when reading the > > Makefile, resulting in a # which is not the start of a Makefile comment. > > But it also seems that \ followed by anything else is not handled specially, > > but simply passed through to the command. -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]