Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix compilation on Windows #4996
I reviewed the comments on my PRs #3310 and #3370 and I don't think this PR will cover all cases. Some of the issues involve using WSL and MSYS on the same computer. I use WSL on a daily basis, but MSYS / GCC / Eclipse / GDB for debugging. One problem is that once you run under WSL and create mpy-cross Windows will try to execute mpy-cross, even if mpy-cross.exe exists. Another thing that needs checking is whether the Windows port will cross compile under WSL, CYGWIN or Linux and native compile under MSYS.
I did a complete rewrite of #3370 after I learned of all the issues but didn't push it after I started using WSL. I intend to rebase a and retest it in the next few weeks.