Compile 4.7.1 problems

Georg-Johann Lay gjl@gcc.gnu.org
Sat Aug 25 19:23:00 GMT 2012


Jonathan Wakely schrieb:
> On 23 August 2012 20:03, Klaus Rudolph <lts-rudolph@gmx.de> wrote:
>> Andrew Haley schrieb:
>>> On 08/23/2012 03:55 PM, Klaus Rudolph wrote:
>>>> The installation with the ./contrib/dowload_prerequisites
>>>> script works.
>>> OK, thanks.  That is the Right Way to do it.  We really need to change
>>> the docs.
>>>
>> Yes, I think this would help :-)
>>
>> First a note in the docs for the script '/contrib/dowload_prerequisites'
>> and second remove the notice '(or later)' for prerequisite lib versions.
> 
> Later versions *should* work, but if they don't the answer is to use
> the recommended versions, which is what the docs suggest and what
> happens if you use contrib/download_prerequisites, as recommended by
> http://gcc.gnu.org/wiki/InstallingGCC

My experience is that it is very, very hard to find stuff in the GCC
wiki if you don't already have a link to the page you need.

Most people read gcc.gnu.org -> Installation -> 1. Prerequisites
and if GMP et al. is not installed on the system, for whatever
reason many people try to install these packages and run into
problems.

Maybe the prerequisites.html could be more specific about what's
preferred and how to achieve that, e.g.

* link ./GGC-SOURCE/gmp to gmp-x.y.z
* Run ./contrib/download_prerequisites from GGC-SOURCE

and what's discouraged, i.e. configuring and installing these
packages by hand.

Finally, even if GMP et al. are installed on the build system
and even if their versions fits they might be unusable, for
example for a canadian cross build.

Johann



More information about the Gcc-help mailing list