Error GCC installation

error: Building GCC requires GMP 4.2 , MPFR 2.3.1 and MPC 0.8.0 .Try the –with-gmp, –with-mpfr and/or –with-mpc options to specifytheir locations. Source code for these libraries can be found attheir respective hosting sites as well as at…

i found this problem when i tried to install gcc for avr development on ubuntu

when i went to download site and tried to install it by source i still got problem. i might miss some parameter when i run ./configure.

just to save my time i prefer to do installation by apt-get, fortunately these package of GMP, MPFR, and MPC

[php]
apt-get install libgmp-dev libgmp10
apt-get install libfmpr-dev
apt-get install libmpc-dev
[/php]

for avr development tools
[php]
apt-get install gcc-avr
apt-get install avr-libc
apt-get install gdb-avr
apt-get install avrdude
[/php]

Leave a Reply

Your email address will not be published. Required fields are marked *