X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 05D7E9F94EA for ; Sat, 27 May 2006 23:36:36 -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 27988-02 for ; Sat, 27 May 2006 23:36:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from candle.pha.pa.us (candle.pha.pa.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id 40EF79FA43B for ; Sat, 27 May 2006 23:36:29 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id k4S2aSW22700; Sat, 27 May 2006 22:36:28 -0400 (EDT) From: Bruce Momjian Message-Id: <200605280236.k4S2aSW22700@candle.pha.pa.us> Subject: Re: Building psql.exe using the free Borland compiler In-Reply-To: <20060528013345.GA1888@surnet.cl> To: Alvaro Herrera Date: Sat, 27 May 2006 22:36:28 -0400 (EDT) CC: ljb , pgsql-interfaces@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/12 X-Sequence-Number: 6133 Alvaro Herrera wrote: > ljb wrote: > > Found this in the archive from a month or so ago: > > > > >> > Has anybody succeeded in building psql from 8.1.3 using bcc55? > > >> ... > > > OK, I originally had in the Makefile: > > > > > > echo \#define SYSCONFDIR "" > pg_config_paths.h > > > > > > I changed it to: > > > > > > echo \#define SYSCONFDIR \"\" > pg_config_paths.h > > > > > > I hope that properly puts quotes in the file. > > > This change is causing me grief when trying to compile libpq from > > PostgreSQL-8.1.4 using Borland BCC32. The above echo command puts > > exactly this into my pg_config_paths.h: > > #define SYSCONFDIR \"\" > > Maybe we should use > > echo -e \#define SYSCONFDIR \"\" > pg_config_paths.h > > in the Makefile instead. Does that work for you? Uh, the echo is interpreted by the borland Makefile utility. I don't think that understands -e. -- Bruce Momjian http://candle.pha.pa.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +