Re: Can't build blinky app on macOS Sierra

2017-03-04 Thread amit mehta
On Fri, Feb 10, 2017 at 3:58 AM, marko kiiskila wrote: > Hi Denis, > > I think Chris meant output of ‘newt -ldebug build my_blinky_sim’ > > What looks confusing is the the contents of build_log.rtf. > It looks as if the file in question was getting processed twice: > First with

Re: Can't build blinky app on macOS Sierra

2017-02-10 Thread Jim Jagielski
Yeah... Apple has seriously deprecated gcc (and the gcc suite) in favor of clang, et.al. > On Feb 10, 2017, at 12:58 AM, Fabio Utzig wrote: > > Running the app under gdb on a mac requires codesign, but under lldb it > doesn't, so here's something that you could do. Change the

Re: Can't build blinky app on macOS Sierra

2017-02-09 Thread Sterling Hughes
Yup, unfortunately nothing for that. Mac makes you code sign gdb when running sim. If you run on physical hardware, you don’t need to codesign the binary. Sterling On 9 Feb 2017, at 20:50, Denis Magda wrote: Hi Marko, cd $GOPATH/src/newt/mynewt.apache.org/newt git checkout

Re: Can't build blinky app on macOS Sierra

2017-02-09 Thread Denis Magda
Hi Marko, > cd $GOPATH/src/newt/mynewt.apache.org/newt > git checkout mynewt_1_0_0_b2_rc1_tag > cd newt > go build; go install This did the trick, thanks! However, I managed to run the demo only under the root user (sudo newt run my_blinky_sim). The other option was to codesign the gdb.

Re: Can't build blinky app on macOS Sierra

2017-02-09 Thread Denis Magda
Hi Chris, Please find requested data attached here: https://drive.google.com/open?id=0B0qn42TRMz5EV1JobzBqM1loa3c As for “-ldebug” it has no effect for me. Tried to add it to many parameters from compiler.yml with no success.

Re: Can't build blinky app on macOS Sierra

2017-02-09 Thread Christopher Collins
Hi Denis, On Wed, Feb 08, 2017 at 09:39:10PM -0800, Denis Magda wrote: > Hello Mynewt community, > > I tried to play with your product strictly following the getting started > guide [1] but can’t compile the default blinky app > > Deniss-MBP:test dmagda$ newt build my_blinky_sim > Building

Can't build blinky app on macOS Sierra

2017-02-08 Thread Denis Magda
Hello Mynewt community, I tried to play with your product strictly following the getting started guide [1] but can’t compile the default blinky app Deniss-MBP:test dmagda$ newt build my_blinky_sim Building target targets/my_blinky_sim Assembling os_arch_stack_frame.s Error: