Re: [HACKERS] Re: [PATCHES] Patch for more readable parse error messages

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Re: [PATCHES] Patch for more readable parse error messages
Date: 2000-02-23 01:20:12
Message-ID: Pine.LNX.4.21.0002230103390.415-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On 2000-02-22, Tom Lane mentioned:

> > Anyone for getting rid of GNU make?
>
> No ;-). GNU make has enough important features that there is no
> near-equivalent non-GNU make. VPATH, for example.

There are other makes that support this too. While I love GNU make, too,
all the talk about allowing vanilla lex, etc. is pointless while GNU make
is required. Users don't see lex at all, they do see make.

OTOH, it is very hard for me to get an overview these days what's actually
out there in terms of other make's, other lex's, other yacc's, other
compilers. You should have an edge there (HPUX and all). Most
installations of commercial Unix vendors I get to nowadays use gcc, gmake,
flex as system tools. Yesterday I read that Sun builds Java proper with
GNU make!

The best way of going about this seems to take one of the perpetrators
(make file, gram.y, etc.) and try to port it to some given non-GNU tool
and take a look at the consequences. For example, if we get PostgreSQL to
compile with FreeBSD's make without crippling everything, that would be a
win for the user base. This may in fact be the first experiment.

> One thing I hope we will be able to do sometime soon is build in an
> object directory tree separate from the source tree... can't
> realistically do that with any non-GNU make that I've heard of.

I'm planning to work on that for 7.1. But here's an interesting tidbit:
Automake does support this feature but in its manual it claims that it
does not use any GNU make specific features. And in fact, VPATH exists in
both System V's and 4.3 BSD's make.

--
Peter Eisentraut Sernanders väg 10:115
peter_e(at)gmx(dot)net 75262 Uppsala
http://yi.org/peter-e/ Sweden

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-02-23 01:20:49 Re: [HACKERS] Beta for 4:30AST ... ?
Previous Message Peter Eisentraut 2000-02-23 01:20:06 Re: Splitting distributions (Was: Re: [HACKERS] ECPG / Release)

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2000-02-23 05:48:09 Re: [HACKERS] Re: [PATCHES] Patch for more readable parse error messages
Previous Message Tom Lane 2000-02-22 15:50:03 Re: [HACKERS] Re: [PATCHES] Patch for more readable parse error messages