Which version of GCC to use: an example

Claudio Bley bley@cs.uni-magdeburg.de
Thu Feb 21 08:54:00 GMT 2002


>>>>> "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]

As Frank Schafer already pointed out, you should never use gcc 2.96
because there never was such a release.

    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.

prcs is not complying with the ANSI C++ Standard as required by gcc
v3. prcs needs to be fixed until you're able to compile it with gcc
v3.

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

Claudio



More information about the Gcc-help mailing list