paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] Missing arm toolchain on OS X Mavericks installati


From: John Mares
Subject: Re: [Paparazzi-devel] Missing arm toolchain on OS X Mavericks installation
Date: Fri, 31 Jan 2014 13:25:20 -0800

Hmmmm...
5.11.49?

I installed from this file:

paparazzi-tools-Mavericks_2014-01-13_05-11-49GMT.dmg

The file Makefile.arm-embedded-toolchain is what is throwing the error.


# Hey Emacs, this is a -*- makefile -*-
#
# Copyright (C) 2012-2013 Felix Ruess <address@hidden>


#
# This is the common Makefile for finding the arm compiler
# for bare metal systems like on the ARM7TDMI, cortex M3/4

PREFIX ?= arm-none-eabi

#
# if gcc can't be found in path, try the paparazzi toolchain in /opt
#
ifeq ($(shell which $(PREFIX)-gcc),)
  PPRZ_TOOLCHAIN=$(shell find -L /opt/paparazzi/arm-multilib -maxdepth 1 -type d -name arm-none-eabi 2>/dev/null | head -n 1)
  ifneq ($(PPRZ_TOOLCHAIN),)
    # set prefix with full path to /opt/paparazzi/arm-multilib toolchain
    PREFIX=$(shell dirname $(PPRZ_TOOLCHAIN))/bin/arm-none-eabi
  else
    # no suitable toolchain found...
    $(error Error: arm-none-eabi-gcc cross-compiler not found! Recommended toolchain is https://launchpad.net/gcc-arm-embedded)
  endif
endif

CC = $(PREFIX)-gcc
LD = $(PREFIX)-gcc
AR = $(PREFIX)-ar
CP = $(PREFIX)-objcopy
DMP = $(PREFIX)-objdump
NM = $(PREFIX)-nm
SIZE = $(PREFIX)-size
GDB = $(PREFIX)-gdb

# some general commands
RM = rm


On Fri, Jan 31, 2014 at 1:13 PM, Felix Ruess <address@hidden> wrote:
Hi,

I'm not familiar with the os x installer/toolchain, but what paparazzi version are you using?
If you are using v5.x you don't need the old /opt/paparazzi/arm-multilib toolchain that we maintained ourselves. (You only need that for v4.x and older)
Since v5 the "standard" gcc-arm-embedded toolchain is used.

Cheers, Felix



On Fri, Jan 31, 2014 at 7:17 PM, address@hidden <address@hidden> wrote:
I was able to install the latest paparazzi os x mavericks build (fresh
install).  When I go to build my flightplan, I get a red highlighted
messages saying that it cannot find the arm-embedded-toolchain.

I'm assuming that this was a package loaded by paparazzi-tools and can't
find anything about it in the FAQ.

The Makefile points to /opt/paparazzi/arm-multilib which does not exist.

Has anyone else had this issue?  Any idea how to fix??

Thank you!



--
View this message in context: http://lists.paparazziuav.org/Missing-arm-toolchain-on-OS-X-Mavericks-installation-tp14503.html
Sent from the paparazzi-devel mailing list archive at Nabble.com.

_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel


_______________________________________________
Paparazzi-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/paparazzi-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]