This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compile problems with gcc 4.5.0


5.5.2010 11:43, Klaus Rudolph wrote:

Kai Ruottu wrote:
Producing 'ppl' with the GCC sources seems hopeless :(  The steps which
I would suggest then are :

1. build and install gmp

2. build and install mpfr

3. build and install mpc

4. build and install GCC

(Or build& install gmp - mpc during the GCC build& install)

4. try to build and install ppl and see the problems and ask help for
     them in some ppl-related forum


You are right, the problem comes from ppl.

Solution: remove ppl from gcc source tree, install ppl package from distribution and configure again. This works as long as the distri makes the correct ppl version available. But this could not be a solution.

After myself installing gmp-4.3.2 (not the latest) and mpfr-2.4.2, the mpc and ppl configures succeeded and the GCC build continued. Producing 'ppl' seems to require at least gcc-4.0, I used gcc-4.1.2, trying the usual gcc-3.4.6 as the $build/$host GCC didn't work. In any case C++ ie. 'g++' will be used to compile 'ppl', not 'gcc'... So the C++ parts in the installed GCC must work, a missing 'libstdc++' could cause that misleading error about "wrong GMP version". Or any other problem with the C++ tools...




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]