Liviu Ionescu created MYNEWT-548:
------------------------------------
Summary: 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
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.4#6332)