patacongo commented on issue #102: boards: spresense: Fix link errors in 
parallel build.
URL: https://github.com/apache/incubator-nuttx/pull/102#issuecomment-574926164
 
 
   A simplifying thought occurs to me.  Currently the Windows native build 
requires a few Unix like tools that it historically gets from GnuWin32.  But I 
think we could use the MSYS2 tools instead.  So it seems to me that we could 
reduce the native build to a special case MSYS2 build.
   
   The special case is that it does not use the Bash shell.  Rather, it uses a 
CMD.com shell of some kind.  This is necessary because the Windows native build 
environment (probably Visual Studio) executes in the context of CMD.com.
   
   I think if the few .bat files needed in the build were replaced with .c 
executables for Windows, then you should be to build essentially shell-less 
(although some CMD.com executables would still be required).
   
   That is why, for example, there is a configure.c which is a work-alike for 
configure.sh (but much faster).  There is also a configure.sh and a 
configure.bat  We should get rid of both of those really and unify to 
configure.c which works in a POSIX environment as well as a Windows native 
environment.
   
   There are five other .bat file in nuttx/tools and they are trivial.
   
   Let me experiment a little with the native Windows build.  I have not tried 
it in a long time.  Let me see where things are at.  Let's not make any hasty 
decisions.
   
   
   
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

Reply via email to