This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -V and -b fails of g++
On Fri, Oct 15, 2004 at 10:52:28AM -0500, Dana, Eric wrote:
> When using gcc 3.4.2 with the -V or -b switch, the appropriate gcc compiler
> is invoked. However when using g++ with -V or -b switch, the appropriate gcc
> compiler is invoked (well not appropriate any more), instead of the
> appropriate g++ compiler. We're in the process of testing multiple versions
> of GCC and a possibly a cross-compiler environment. In the old days (2.95.x)
> and early 3.x, using g++ with -V and -B worked. Was the change in
> functionality intentional, if not, should I file a PR? Thanks.
Actually -V never worked that well with g++, because of problems with
choosing which version of libstdc++ (or libg++ in the old days) to use.
I recommend use of --prefix at configure time if you want to keep multiple
gcc's around; install each with a different prefix.