patacongo commented on pull request #1009:
URL: https://github.com/apache/incubator-nuttx/pull/1009#issuecomment-626175549


   > 
   > 
   > does windows have ucontext stuff?
   > (just a question. i don't know the current state of windows support.)
   
   Windows has several different environments, WSL, Cygwin, MSYS, and windows 
native.  WSL should not be an issue.  Niether should Cygwin -- but we need to 
verify that.  MSYS uses the Cygwin libraries and should be okay.
   
   AFAIK no one has ever attempted the simulator in a Windows native 
environment.  Certain POSIX libraries would be needed in that case.  Microsoft 
recommends:   
https://docs.microsoft.com/en-us/cpp/porting/porting-from-unix-to-win32?view=vs-2019
   
   The MinGW build would be a "native" build. MinGW does support ucontext.h, 
but I do not know the state: 
https://github.com/rantoniello/mingw-w64_selfcontained/blob/master/gcc-8.1.0/fixincludes/tests/base/sys/ucontext.h
 
   
   There is also this:  
https://www.codeproject.com/Tips/4225/Unix-ucontext-t-Operations-on-Windows-Platforms
   
   Thin MinGW/Native build would still most likely be challenging.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to