patacongo edited a comment on pull request #1066:
URL: https://github.com/apache/incubator-nuttx/pull/1066#issuecomment-630439791


   There is some issues about whether WINTOOL must be set for MSYS2 as well as 
WINTOOL.
   
   1. **Symlinks**:  If CYWGIN is used, symbolic links are used unless WINTOOL 
is defined then directories are copied.  That is because Windows native tools 
cannot follow Cygwin's symbol links.  MSYS2, on the other hand, doesn't support 
symobolic links.  The 'ln' command works under MSYS2 but always does a 
directory copy.  So WINTOOL is not needed for these "fake" symbolic links with 
MSYS2.
   
   2. **Path  Conversions**:  Both CYGWIN and MSYS2 support the `cygpath 
`program.  All toolchain paths must be converted to Windows paths using 
`cygpath `for for both CYGWIN and MSYS2.  But WINTOOL was never set for MSYS2.  
I don't know how that worked???  I did have to do a fix for this in 
`boards/Board.mk` recently with regard to the ZDS-II toolchain which always 
wants Windows paths for either CGYWIN or MSYS2.
   
   I don't understand how MSYS2 with a native toolchain works.  I had no 
problems with the MSYS ZDS-II build other with `boards/Board.mk`.
   
   I suppose I should do some experimentation because I have both on all of my 
Windows machines.
   


----------------------------------------------------------------
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:
[email protected]


Reply via email to