You are reading a single comment by @MrTimcakes and its replies.
Click here to read the full conversation.
-
@Wilberforce I don't think the 2nd "install" in sudo apt-get install gcc-arm-none-eabi git install build-essential should be there should it?
The Anniversary Update (64 bit only) has a developer mode add on that allows Ubuntu code to run in a windows subsystem.
This means Espruino can be compiled without running in a VM!
The update has not been rolled out - here are the instructions to update manually...
http://www.howtogeek.com/248177/whats-new-in-windows-10s-anniversary-update/
Then turn on developer mode - reboot and add the Linux on windows system:
http://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/
On my system - in the cmd prompt, I had this error message:
Unsupported console settings. In order to use this feature the legacy console must be disabled.
https://github.com/Microsoft/BashOnWindows/issues/319
Open cmd.exe
Right click title bar -> Properties -> Uncheck Use legacy console
Click OK
Then on first run of bash.exe, the sub system is installed.
Then:
Then:
Yay!
Will try a cross compile soon!