Dienstag, 30. März 2010

Arduino : Building avr-gcc from source in Linux

Arduino : building avr-gcc from source in Linux

Before building avr-gcc, you need to install GMP (GNU Multi-Precision Library ) and MPFR.

http://en.wikipedia.org/wiki/GNU_Multi-Precision_Library

http://en.wikipedia.org/wiki/MPFR

http://www.mpfr.org/

http://gmplib.org/

GNU MPFR is a portable C library for arbitrary-precision binary floating-point computation with correct rounding, based on GNU Multi-Precision Library. The computation is both efficient and has a well-defined semantics. It copies the good ideas from the ANSI/IEEE-754 standard for fixed-precision floating-point arithmetic.

The GNU Multiple-Precision Library, also known as GMP, is a free library for arbitrary-precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. There is no practical limit to the precision except the ones implied by the available memory in the machine GMP runs on


2. I suggest to use the --prefix=/usr/local/gmp-5.0.1 and --prefix=/usr/local/mpfr-2.4.2 directives to install the library in specific locations , so as not to conflict with previous versions when you configure avr-gcc.


LEGOstudio (樂高) 大師五十川芳
http://www.isogawastudio.co.jp/legostudio/index.html



Keine Kommentare: