Wednesday, November 2, 2011

macports and arm-elf-binutils

port install arm-elf-binutils
It threw a few shoes on MacOS 10.7. For some reason, on 10.6, the binaries that were build had PowerPC code.
The solution is to install gcc45, and then update the compiler flags in the portfile.
The resulting Portfile for arm-elf-binutils has the following directives:

depends_lib port:gettext
configure.cppflags -I${prefix}/include
universal_variant yes
configure.compiler macports-gcc-4.5

Someone should make me the maintainer of these...

No comments:

Post a Comment