pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ljb <ljb220@mindspring.com>
To: pgsql-interfaces@postgresql.org
Subject: Re: Building psql.exe using the free Borland compiler
Date: Mon, 29 May 2006 00:46:13 +0000 (UTC)
Message-ID: <e5dg8l$4u7$1@news.hub.org> (raw)
References: <20060528013345.GA1888@surnet.cl>
	<200605280236.k4S2aSW22700@candle.pha.pa.us>

pgman@candle.pha.pa.us wrote:
>...
> > 
> > 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 \"\"
> > which irks the compiler when building fe-connect.c
> > I had to change it to this in the Makefile:
> >       echo \#define SYSCONFDIR "" > pg_config_paths.h
> > Before suggesting undoing this patch, can anyone else verify which version
> > works for them?
> 
> Yes, I am getting confused why it works sometimes and not others.  Are
> you using bcc55?  Does this work:
> 
> 	echo '#define SYSCONFDIR ""' > pg_config_paths.h

Yes, bcc55. In case it matters, using Windows 2000.
You say echo is done by Borland make - are you sure? I thought maybe it was
just passed to the command processor cmd.exe. It doesn't seem to do
anything special with quotes - justs outputs them - but I will do some more
checking with "'\ in a Makefile (on Tuesday, when I'm back where the
Windows PC lives.)

It would be interesting to hear from the original poster who
changed "" to \"\" to find out what his environment is.

By the way, I also had to put "#define inline" into pg_config.h.win32
after #ifdef __BORLANDC__, or the compilation failed in
backend/utils/mb/wchar.c (keep in mind I'm only building libpq here).



view thread (14+ messages)  latest in thread

Message-ID: <e5dg8l$4u7$1@news.hub.org>
Permalink:  ../e5dg8l$4u7$1@news.hub.org/
Also on:    postgresql.org/message-id/e5dg8l$4u7$1@news.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: ljb220@mindspring.com
  Subject: Re: Building psql.exe using the free Borland compiler
  In-Reply-To: <e5dg8l$4u7$1@news.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox