Tuesday, August 24, 2010

AVR GCC Makefile build project

I thought this wouldn't be too bad, and it was easy to get started, but to really know what combination works is really tricky. I started with gcc-4.5.1 and it compiled great with mpfr, and gmp simlinked into the source directory. But when I started working gcc 4.3.2, 4.3.5, 4.4.4 each of these got the relative pathing wrong.  Basiclly, instead of ../ configure generated ./ so the code was unreachable. Then I tried using --with-gmp, and --with-mpfr. I got the gmp version recognized, but mpfr was still not findable.

Anyway, the code is on Github, and I will be updating it with whatever positive improvements I find.
http://github.com/ricklon/avrgcc-macosx-makefile