Skip site navigation (1) Skip section navigation (2)

Re: Building psql.exe using the free Borland compiler

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: ljb <ljb220(at)mindspring(dot)com>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Building psql.exe using the free Borland compiler
Date: 2006-05-28 02:36:28
Message-ID: 200605280236.k4S2aSW22700@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-interfaces
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. +

In response to

Responses

pgsql-interfaces by date

Next:From: Alvaro HerreraDate: 2006-05-28 03:37:34
Subject: Re: Building psql.exe using the free Borland compiler
Previous:From: Alvaro HerreraDate: 2006-05-28 01:33:46
Subject: Re: Building psql.exe using the free Borland compiler

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group