4

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 correct in believing that I need to install binutils, newlib and a file called t-arm-elf?

Jonas
130k103 gold badges329 silver badges408 bronze badges
asked Feb 9, 2010 at 19:05

1 Answer 1

8

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
answered Feb 9, 2010 at 19:09
Sign up to request clarification or add additional context in comments.

3 Comments

I've never tried fink, but macports puts everything in /opt/local and updates PATH and MANPATH environment variables. I don't think it has any other impact on the system.
I seem to have problems with it on snow leopard constantly gives me architecture errors on build
I had the same problem on Snow Leopard a while ago. Running 'port selfupdate' and then retrying the install of arm-elf-gcc worked, so they must have fixed it.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.