paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Fail to build paparazzi on Yosemite


From: Yannick Jestin
Subject: Re: [Paparazzi-devel] Fail to build paparazzi on Yosemite
Date: Mon, 28 Sep 2015 17:35:59 +0200

> On 28 sept. 2015, at 12:21, Tom hardson <address@hidden> wrote:
> 
> Hi,Esden,Yannick
> Thank you for your help,I have reinstalled everything for paparazzi.However,I 
> still get the warning"gcc: warning: couldn't understand kern.osversion 
> '14.5.0"while it is making for paparazzi and building for sim.And the 
> paparazzi still can't work properly.Meanwhile,the building for ap which 
> doesn't appear the warning.I suspect that it is a problem about the gcc 
> compiler.
> 
> Since I have installed the newest gcc(5.2.0)with home-brew,the command"brew 
> list gcc »returns:
[…]

> Why the version it is using which is not  what is installed with homebrew?BTW 
> I have added the path of the gcc5.2(export 
> PATH=/usr/local/Cellar/gcc/5.2.0/bin:$PATH) to bash_profile.

It looks that your compile chain chooses the wrong gcc version.

If your path is set, I guess
$ which gcc
should return: /usr/local/Cellar/gcc/5.2.0/bin/gcc
or /usr/local/bin/gcc which is a symlink to the Cellar one

  If so, another wild guess is that the paparazzi Makefile doesn’t honor the 
path, and sticks to the /usr/bin/gcc. There might be wrong links in 
/usr/local/bin for gcc and cc. Can you $ ls -l /usr/local/bin/gcc and $ls -l 
/usr/local/bin/cc ?

— 
  Y.




reply via email to

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