Re: Re: Problem with building gcc 4.9.0 (libstdc++)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8 August 2014 12:13, Kirill Voronin wrote:
>
> OK, thanks for you responses.
>
> Can you please make it a bit more clear about how to build gcc after using
> download_prerequisites script ?

I don't know what isn't clear about the steps at the bottom of the
http://gcc.gnu.org/wiki/InstallingGCC page.

> Running
>
>  ../gcc-4.9.0/configure
> --prefix=/ifs/home/icmmg/voronin/pardiso_proekt/pardiso_project/new/gcc_install
> --enable-shared
>
> fails with the error
>
> checking for the correct version of gmp.h... no
> configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC 0.8.0+.
> Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
> their locations.
>
> since there is no gmp, mpc and mpfr built.

I'm guessing you ran download_prerequisites in the wrong directory.

> As far as i understand, the download_prerequisites script just downloads
> the source files.

No, it downloads them, unpacks them and renames the directories. GCC
will then build those prerequisites automatically and will know how to
link to them correctly.

> How should I build it?

As it says at http://gcc.gnu.org/wiki/InstallingGCC

If you do that correctly it works, so apparently you are not doing it correctly.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux