gcc 4.7.0 bash install script updated to support binutils-2.22

This week I updated the gcc-4.7.0 bash install script to include binutils-2.22 with gold support enabled. See this blog entry to download it.

I found a number of type-casting problems in the code so to get it to work I had to set the –disable-werror option in the configuration.

There was one serious coding problem in the parse_uint function at line 196 in the gold/options.cc file. The logic is testing retval<0 instead of *retval<0. Fortunately, this code does not seem to be used.

Leave a Reply