Re: [HACKERS] Off-topic: autoconf guru

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Off-topic: autoconf guru
Дата
Msg-id 445.933261646@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Off-topic: autoconf guru  (Dmitry Samersoff <dms@wplus.net>)
Список pgsql-hackers
Dmitry Samersoff <dms@wplus.net> writes:
>  CC=g++

That is your problem.  Don't do it.

Autoconf's job is difficult enough without trying to make all its macros
work with either C or C++ compilers.  They haven't tried.  If you think
it is critical that they should try, go off and join the GNU autoconf
team.

Back to actually solving the problem: you should be letting CC=gcc and
CXX=g++ as the system is expecting.  I don't know what problem you are
trying to solve, but I can assure you that switching those two symbols
around is *not* the path to a solution.  What happens when you try to
build the system without forcing the wrong choice of compilers?
        regards, tom lane


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

Предыдущее
От: Patrick van Kleef
Дата:
Сообщение: Re: [HACKERS] Off-topic: autoconf guru
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Re: [BUGS] [Keystone Slip # 14] Building pristine source on RedHat Alpha6.0