Re: [HACKERS] Off-topic: autoconf guru - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Off-topic: autoconf guru
Date
Msg-id 445.933261646@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] Off-topic: autoconf guru  (Dmitry Samersoff <dms@wplus.net>)
List 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 by date:

Previous
From: Patrick van Kleef
Date:
Subject: Re: [HACKERS] Off-topic: autoconf guru
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Re: [BUGS] [Keystone Slip # 14] Building pristine source on RedHat Alpha6.0