This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Building gcc with gmp source is failing with "Can't find gmp headers" (Centos 6.5)
- From: Chung-Ju Wu <jasonwucj at gmail dot com>
- To: Dave Gittins <dave dot gittins at gmail dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 14 Apr 2014 17:34:18 +0800
- Subject: Re: Building gcc with gmp source is failing with "Can't find gmp headers" (Centos 6.5)
- Authentication-results: sourceware.org; auth=none
- References: <CAB4NfKQGAPzMevHR1q4wizPOu0jjpOFy7ypCFTfeBKWq1dbi+w at mail dot gmail dot com> <alpine dot DEB dot 2 dot 10 dot 1404140802550 dot 3714 at laptop-mg dot saclay dot inria dot fr> <CAB4NfKTB414i3ACpKe+avw_vuko1ByjZ4H9nbjOhLqRpi47t+g at mail dot gmail dot com>
2014-04-14 15:12 GMT+08:00 Dave Gittins <dave.gittins@gmail.com>:
>
> Interesting. I will be building later versions as well (and making a
> transition to 4.8.X as soon as I can)... but as a first step I have to
> work with 4.4.0 unfortunately.
>
> I got the requirements from
> http://gcc.gnu.org/install/prerequisites.html. Perhaps it is not true
> for versions as old as 4.4.0?
>
> Dropping cloog might be the pragmatic solution for now as we can live
> without any of the graphite loop optimisation stuff. I can bring it in
> when I move on to later versions.
>
Hi, Dave,
The ISL is used after gcc-4.8.
>From the gcc-4.4.0 souce, gcc/doc/install.text,
the prerequisites are:
gmp 4.1
mpfr 2.3.2
ppl 0.10
cloog-ppl 0.15
Also, if I remember correctly, the in-tree build of ppl and cloog-ppl
didn't work very well. So if your are forced to build gcc-4.4.0, either
dropping ppl/cloog-ppl or build them by your own with required version.
Best regards,
jasonwucj