Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing on OSX 10.10.1 Yosemite #106

Closed
moskrc opened this issue Jan 24, 2015 · 2 comments
Closed

Installing on OSX 10.10.1 Yosemite #106

moskrc opened this issue Jan 24, 2015 · 2 comments

Comments

@moskrc
Copy link

moskrc commented Jan 24, 2015

Hi,

I have a problem with 'make',

vit@myhost ~/projects/electronics/libmaple $ make
make: arm-none-eabi-gcc: Command not found
make: arm-none-eabi-gcc: Command not found
================================================================================

  Build info:
     BOARD:           maple_mini
     MCU:             STM32F103CB
     MEMORY_TARGET:   flash

  See 'make help' for all possible targets

================================================================================

  [CC]        ./libmaple/adc.c
arm-none-eabi-gcc: error trying to exec 'cc1': execvp: No such file or directory
make: *** [build/./libmaple/adc.o] Error 1
vit@myhost ~/projects/electronics/libmaple $
vit@myhost ~/projects/electronics/libmaple $ arm-none-eabi-gcc
arm-none-eabi-gcc: no input files
vit@myhost ~/projects/electronics/libmaple $ cc1
-bash: cc1: command not found
vit@myhost ~/projects/electronics/libmaple $ cc
clang: error: no input files
vit@myhost ~/projects/electronics/libmaple $

Thanks

@bnewbold
Copy link
Contributor

Hi @moskrc, it looks like your problem is what the output says: the arm-none-eabi-gcc toolchain can't be found on your $PATH.

The libmaple documentation (http://static.leaflabs.com/pub/leaflabs/maple-docs/latest/unix-toolchain.html) is very out of date on this topic, but you'll probably want to download the pre-compiled OS X toolchain (https://launchpad.net/gcc-arm-embedded), add it to your path (so you can run, eg, arm-none-eabi-strip from the command line and get help text and not a "not found" error), then try again.

EDIT: I compile code on OS X Yosemite almost daily, so I can confirm it works.

@bnewbold
Copy link
Contributor

@mbolivar, please close this issue.

@mbolivar mbolivar closed this as completed Mar 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants