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

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Re: [PATCHES] Patch for more readable parse error messages
Дата
Msg-id Pine.LNX.4.21.0002230103390.415-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: [PATCHES] Patch for more readable parse error messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] Re: [PATCHES] Patch for more readable parse error messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Beta for 4:30AST ... ?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Splitting distributions (Was: Re: [HACKERS] ECPG / Release)