Which version of GCC to use: an example

Bob Gustafson bobgus@mcs.com
Thu Feb 21 09:56:00 GMT 2002


Claudio == Claudio Bley <bley@cs.uni-magdeburg.de> writes:

>>>>>> "Bob" == Bob Gustafson <bobgus@mcs.com> writes:
>
>    Bob> My goal was to compile and install prcs-1.3.1 (a new source
>    Bob> code control system)
>
>    Bob> I started out with gcc version 2.96 which is the stock
>    Bob> version supplied with RedHat 7.2 (for i686-pc-linux-gnu)
>
>    Bob>    ./configure 2>&1 | tee config.out make 2>&1 | tee make.out
>
>    Bob> The last few lines of make.out are:
>
>[snipped]
>
Claudio> As Frank Schafer already pointed out, you should never use gcc 2.96
Claudio> because there never was such a release.

I just used what came with RH 7.2  (However, I am now using 2.95.3)

>
>    Bob> It still won't make. Last bit of the make.out file is given
>    Bob> below ( make 2>&1 | tee make.out).
>
>[snipped]
>
>    Bob> Finally, I installed gcc version 2.95.3 (2.95.3 20010315
>    Bob> (release)) and this worked fine.
>
>    Bob> I don't know if there are bugs in the compiler(s) or bugs in
>    Bob> prcs-1.3.1, but this might be a regression test to pass for
>    Bob> the newer compilers.
>
Claudio> prcs is not complying with the ANSI C++ Standard as required by gcc
Claudio> v3. prcs needs to be fixed until you're able to compile it with gcc
Claudio> v3.

>From the listing of make errors, do you have any guidance as to what part
of the ANSI C++ Standard is being violated?

Also, if 2.95.3 does the job, why doesn't 3.0.3 flag (and deprecate) the
things that pass 2.95.3 and do not pass 3.0.3  :-)

>
>    Bob> PCRS can be obtained at http://sourceforge.net/projects/prcs
>
>Claudio



More information about the Gcc-help mailing list