Please let me know if this should be on Server Fault...
I've got some code I want to compile which requires arm-elf-gcc
. I'm not an embedded programmer, so all this is new to me. My development machine is a Mac and I use fink pretty often, so I'd love to be able to install it that way. However, fink doesn't know of any package with that name. I see that gnuarm.org has some binaries for OS X but their packages seem to also include a bunch of stuff (e.g. gcc) I already have. Am I correc开发者_运维百科t in believing that I need to install binutils
, newlib
and a file called t-arm-elf?
MacPorts supports arm-elf-gcc.
$ port search arm-elf arm-elf-binutils @2.20.51.0.2 (cross, devel) FSF Binutils for arm-elf cross development arm-elf-gcc @4.3.2 (cross, devel) gcc cross-compilers for arm-elf, with newlib runtime library. arm-elf-gcc3 @3.4.6 (cross, devel) gcc 3.x cross-compilers for arm-elf, with newlib runtime library. Found 3 ports.
Once you install MacPorts, all it would take is:
$ sudo port install arm-elf-gcc
精彩评论