MHVAVRTools OS X Lion gmp 5.0.2

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Searching here for some sort of OSX Lion tool chain I found a line to MHAVRTools which looked fairly recent.

Everything worked up to the point where it attempted to build something called gmp-5.0.2

Wed Sep 5 12:44:13 PDT 2012: Patching with ../../patches/smatch-001-makefile.patch
patching file Makefile
Hunk #1 FAILED at 1.
Hunk #2 succeeded at 33 (offset 6 lines).
Hunk #3 succeeded at 186 with fuzz 1 (offset 32 lines).
1 out of 3 hunks FAILED -- saving rejects to file Makefile.rej
Wed Sep 5 12:44:13 PDT 2012: Patch failed
Wed Sep 5 12:44:18 PDT 2012: Building Native GMP 5.0.2
Wed Sep 5 12:44:21 PDT 2012: Could not configure GMP 5.0.2
Wed Sep 5 12:44:21 PDT 2012: gmp build failed

I can not seem to find any makefile or anyway to clean and restart this part of a script.

Lately I have been using macports, with great success as well as github. Does anyone know if there are alternatives or whatever.

Ideally I just want AVRGCC and libs, along with AVRDude and debugger support (GDB?) Not sure what all the other stuff is for.

-julie

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

MHV uses patches against and/or downloads a wrong version of gmp.

GCC needs some prereqisites: The math libraries gmp, mpfr and mpc. All currently supported release series of GCC — which are 4.6, 4.7 and future 4.8 — use the following versions of these libraries, here as snip from GCC!/contrib/download_prerequisites:

MPFR=mpfr-2.4.2
GMP=gmp-4.3.2
MPC=mpc-0.8.1

Thus, MHV makes guesses that are not correct and might lead to even more problems, even if patching worked.

avrfreaks does not support Opera. Profile inactive.