digitalmars.D.announce - Dreams come true: Compiling and running linux apps on windows :)
- Andre Pany (11/12) Aug 06 2016 Hi,
- Rattle Weird Hole (2/15) Aug 06 2016 what are concret applications ?
- Andre Pany (10/11) Aug 06 2016 For me it is the possibility to develop applications for the
- Martin Nowak (3/5) Aug 06 2016 Good news, I'm really not that keen to write a powershell script.
- Dicebot (2/8) Aug 07 2016 AFAIK embedded linux support is based on Ubuntu
- Andre Pany (9/14) Aug 07 2016 I am not sure how to get this information.
- Zardoz (17/31) Aug 07 2016 It's offer full Linux Kernel API to *nix applications. Even a VFS
- Mike (7/8) Aug 07 2016 $lsb_release -a
- Mike (18/21) Aug 07 2016 For those who might not be aware of this and are looking for a
- Abdulhaq (2/6) Aug 07 2016 Install XMing and run GUI apps too!
Hi, there is a new feature with the recent windows 10 update. You now can compile and run your linux apps (console only) on windows. The build script is working fine: curl -fsS https://dlang.org/install.sh | bash -s dmd The only thing you need is to install the build-essential packagesudo apt-get install build-essentialA simple hello world application is running fine. Network functionality not tested so far. Kind regards André
Aug 06 2016
On Saturday, 6 August 2016 at 17:34:14 UTC, Andre Pany wrote:Hi, there is a new feature with the recent windows 10 update. You now can compile and run your linux apps (console only) on windows. The build script is working fine: curl -fsS https://dlang.org/install.sh | bash -s dmd The only thing you need is to install the build-essential packagewhat are concret applications ?sudo apt-get install build-essentialA simple hello world application is running fine. Network functionality not tested so far. Kind regards André
Aug 06 2016
On Saturday, 6 August 2016 at 17:48:43 UTC, Rattle Weird Hole wrote:what are concret applications ?For me it is the possibility to develop applications for the amazon web services cloud while not leaving my windows system. I am used to windows but now I have the possibility to also develop the needed linux artifacts directly without a VM or secondary OS on my machine. Kind regards André
Aug 06 2016
On Saturday, 6 August 2016 at 17:34:14 UTC, Andre Pany wrote:The build script is working fine: curl -fsS https://dlang.org/install.sh | bash -s dmdGood news, I'm really not that keen to write a powershell script. What OS does it detect and download?
Aug 06 2016
On Sunday, 7 August 2016 at 03:06:27 UTC, Martin Nowak wrote:On Saturday, 6 August 2016 at 17:34:14 UTC, Andre Pany wrote:AFAIK embedded linux support is based on UbuntuThe build script is working fine: curl -fsS https://dlang.org/install.sh | bash -s dmdGood news, I'm really not that keen to write a powershell script. What OS does it detect and download?
Aug 07 2016
On Sunday, 7 August 2016 at 03:06:27 UTC, Martin Nowak wrote:Good news, I'm really not that keen to write a powershell script. What OS does it detect and download?I am not sure how to get this information. The windows functionality is labeled as "Bash on ubuntu on windows". I executed the commands from the script manually:uname -sLinuxuname -mx86_64 Kind regards André
Aug 07 2016
On Sunday, 7 August 2016 at 08:07:37 UTC, Andre Pany wrote:On Sunday, 7 August 2016 at 03:06:27 UTC, Martin Nowak wrote:It's offer full Linux Kernel API to *nix applications. Even a VFS following the Ubuntu filesystem conventions, where Windows drives are mount like /mnt/c , /mnt/d , etc. Really you have a full Ubuntu working on your Windows on some kind of inverse Wine. However, the new console of Windows 10 (that got a lot of improvements), have some nasty problems related to keyboard input that make using some ncurses, and similar, more problematic. For example, arrows on Vim/NeoVim not ends to work correctly. And actually using conemu and similer alternative terminals are hit by the same issue. Also, there is some people that manage to run X11 apps, using a Windows native X11 server plus (a full GNU/Linux desktop). This is really great for Linux & Unix fans that need to work on Windows by causes outside of his control. Sadly, where I work, we are using Windows 7, so I need to use to Cygwin and his "limited" set of packages.Good news, I'm really not that keen to write a powershell script. What OS does it detect and download?I am not sure how to get this information. The windows functionality is labeled as "Bash on ubuntu on windows". I executed the commands from the script manually:uname -sLinuxuname -mx86_64 Kind regards André
Aug 07 2016
On Sunday, 7 August 2016 at 03:06:27 UTC, Martin Nowak wrote:What OS does it detect and download?$lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty
Aug 07 2016
On Saturday, 6 August 2016 at 17:34:14 UTC, Andre Pany wrote:there is a new feature with the recent windows 10 update. You now can compile and run your linux apps (console only) on windows.For those who might not be aware of this and are looking for a little more info, it's called the "Windows Subsystem for Linux" (WSL) Wikipedia Entry: https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux Microsoft's overview: https://blogs.msdn.microsoft.com/wsl/2016/04/22/windows-subsystem-for-linux-overview/ Microsoft blog post: https://blogs.windows.com/buildingapps/2016/03/30/run-bash-on-ubuntu-on-windows/ On a related note, Microsoft has also created an open-source MI interface to GDB: https://github.com/Microsoft/MIEngine. You can install the Visual Studio 2015 plugin through Nuget - if I remember correctly it is this plugin: https://visualstudiogallery.msdn.microsoft.com/725025cf-7067-45c -8d01-1e0fd359ae6e. There's a nice video about it here: https://www.youtube.com/watch?v=-3toI8L3Oug I currently use this to do ARM microcontroller development in Visual Studio 2015 with GCC and OpenOCD. Mike
Aug 07 2016
On Saturday, 6 August 2016 at 17:34:14 UTC, Andre Pany wrote:Hi, there is a new feature with the recent windows 10 update. You now can compile and run your linux apps (console only) on windows.Install XMing and run GUI apps too!
Aug 07 2016