Hi Shiraz,

You are right - the simulator does not currently build in Windows.  The
sim environment uses signals to emulate context switching, something
which is fundamentally incompatible with Windows (as you noticed!).  The
documentation may have been a bit confusing, and it has been updated.

We are working on a Windows-compatible solution which uses docker and a Linux
virtual machine.  This solution addresses Windows' lack of signals and
it simplifies the Mynewt setup.  However, we have held off on publishing
this solution because there are a few issues the docker install tool
that are tough to work around.  The hope is that the upcoming docker
release will address these issues.

In the meantime, I will post some additional details about the
forthcoming Windows port to this list shortly.  If you see any issues,
please let us know.  Also, it would be quite helpful if you get a chance
to try the Windows port when it is ready, and let the list know of your
experience.

By the way, did you try building a non-sim image in Windows (i.e., the
"blinky" project)?  That should work.

Thanks,
Chris

On Tue, Oct 27, 2015 at 04:20:09PM +1100, Shiraz Nisar wrote:
> Hi All,
> 
> It seems we will be not be able to build MyNewt on windows environment
> using mingw.
> 
> function sigprocmask (SIG_UNBLOCK, &s, (sigset_t *) 0*  is not available.
> 
> http://sourceforge.net/p/mingw-w64/support-requests/92/
> 
> I think documentation should be updated.
> 
> Thanks,
> 
> Shiraz

Reply via email to