[ https://issues.apache.org/jira/browse/MYNEWT-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15884483#comment-15884483 ]
Sterling Hughes commented on MYNEWT-548: ---------------------------------------- Hi Liviu, it does. If you use newt docker on mac os x, you need to use "newt run" to run the simulated binary. If you natively install the toolchain, you can either call the binary directly, or use newt run. newt run is the expected way to call things. I'm assigning this to Aditi to add a note to the documentation. > The blinky.elf created by the Create Your First Mynewt Project tutorial runs > only on linux > ------------------------------------------------------------------------------------------ > > Key: MYNEWT-548 > URL: https://issues.apache.org/jira/browse/MYNEWT-548 > Project: Mynewt > Issue Type: Bug > Affects Versions: v1_0_0_beta1 > Environment: macOS, Docker > Reporter: Liviu Ionescu > Fix For: v1_0_0_rel > > > I followed your basic setup instructions and installed the Docker version of > `newt`. > Then I followed > https://mynewt.apache.org/latest/os/get_started/project_create/ to create and > build the `my_blinky_sim` application. > When trying to run the binary, not only the path is incorrect > (`./bin/my_blinky_sim/apps/blinky/blinky.elf`), but the file is a Linux > binary: > ``` > file ./bin/targets/my_blinky_sim/app/apps/blinky/blinky.elf > ./bin/targets/my_blinky_sim/app/apps/blinky/blinky.elf: ELF 32-bit LSB > executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter > /lib/ld-linux.so.2, for GNU/Linux 2.6.32, > BuildID[sha1]=d66139b97ed3cd7d9c9e41a03137d91002c706b2, not stripped > ``` > I do not know if it is possible to create macOS applications, if not, the > documentation should clearly state that the simulated applications run only > on Linux; if it is possible, the documentation should explain how to do it. > does installing `newt` natively allow to generate macOS applications? -- This message was sent by Atlassian JIRA (v6.3.15#6346)