Re: cpp preprocessor problem in postgres

Поиск
Список
Период
Сортировка
От Thomas G. Lockhart
Тема Re: cpp preprocessor problem in postgres
Дата
Msg-id 362B5243.C7AFA56E@alumni.caltech.edu
обсуждение исходный текст
Список pgsql-hackers
> I tried to make sense of your message about the need for "gcc -E -"
> in the autoconfigure results, but I couldn't get it to work.

v6.4 will do the right thing if cpp is missing, and will use gcc -E -
instead.

Do a "find" through the Makefiles and replace "cpp" with "gcc -E -" in
places where it is executed as a command:
 cd $(POSTGRESDIR) # the top level directory find . -name '*akefile' -exec grep cpp {} \; -print

then edit the files which are mentioned.

btw, I'm not sure why some versions of gcc are missing this. My rpm of
2.7.2.1 had it, but 2.7.2.3 did not. egcs seems to be missing it also,
so it looks like it may be a deprecated feature?
                   - Tom


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

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] using indexes
Следующее
От: "Thomas G. Lockhart"
Дата:
Сообщение: [Fwd: DocBook stylesheets 1.19 released]