mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2016-04-22, 13:17   #1
tServo
 
tServo's Avatar
 
"Marv"
May 2009
near the Tannhäuser Gate

5·131 Posts
Default Windows 10 SP1 will have UBUNTU developer support !!!!

It's NOT exactly Linux and Windows 10 running together, but enough of Linux to make developing & compiling programs on one machine a real possibility! Think of it as MinGW or Cygwin built into Windows 10. Linux compilers, bash shell, languages, and utilities only a mouse click away. It could help maintaining a code base for multiple systems easier.
Unfortunately, I suspect Cuda testing would not be possible because of driver issues, but at least you might be able to do the compiles.
I have a Microsoft Surface running Win 10 I don't use much and will try to get the preview going over the next week or so as time permits.

Instructions and info:http://www.zdnet.com/article/ubuntu-...on-windows-10/
tServo is offline   Reply With Quote
Old 2016-04-22, 13:30   #2
casevh
 
Dec 2005

23 Posts
Default

I installed it last night and took a quick look. It think it will be very useful to develop code that runs on both platforms. For developers, the most significant difference is that it uses the *nix convention that a C language "long" is 64-bits in length.

And if you install an X windows server in Windows 10, you can actually run some GUI applications....
casevh is offline   Reply With Quote
Old 2016-04-22, 13:42   #3
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

72538 Posts
Default

Quote:
Originally Posted by casevh View Post

And if you install an X windows server in Windows 10, you can actually run some GUI applications....
I wonder if one can run Primo under X Window on Win10.
paulunderwood is offline   Reply With Quote
Old 2016-04-22, 14:10   #4
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

2·5·293 Posts
Default

Quote:
Originally Posted by paulunderwood View Post
I wonder if one can run Primo under X Window on Win10.
Not quite.

Basically, what MS has done is an implementation of the Linux API -- the kernel calls accessible from user space. It doesn't include access to the hardware which Xorg needs. You could, however, run a virtual frame buffer using the vncserver command, and then run a Windows VNC client to connect to it.
Mark Rose is offline   Reply With Quote
Old 2016-04-22, 15:40   #5
xilman
Bamboozled!
 
xilman's Avatar
 
"𒉺𒌌𒇷𒆷𒀭"
May 2003
Down not across

47·229 Posts
Default

Quote:
Originally Posted by tServo View Post
It's NOT exactly Linux and Windows 10 running together, but enough of Linux to make developing & compiling programs on one machine a real possibility! Think of it as MinGW or Cygwin built into Windows 10.
I prefer to think of it as Eniw.
xilman is offline   Reply With Quote
Old 2016-04-22, 17:38   #6
casevh
 
Dec 2005

23 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
Not quite.

Basically, what MS has done is an implementation of the Linux API -- the kernel calls accessible from user space. It doesn't include access to the hardware which Xorg needs. You could, however, run a virtual frame buffer using the vncserver command, and then run a Windows VNC client to connect to it.
I have run an X server on Windows (tested both Xming and MobaXterm) and then remotely displayed the application on the X server. I was able to get scite (a text editor) and gimp (graphics manipulation) to run. I haven't tried running an entire desktop environment. I'm not confident that it will work, especially any modern desktop that relies on systemd.

Many other applications are available. I've installed, but not yet tested, gmp-ecm and pari-gp. I'll test Primo later.

casevh
casevh is offline   Reply With Quote
Old 2016-04-22, 18:09   #7
bgbeuning
 
Dec 2014

FF16 Posts
Default

The file-system is still case insensitive. So code may compile with gcc
under the Linux subsystem of Windows but then not compile on native Linux.
bgbeuning is offline   Reply With Quote
Old 2016-04-22, 19:23   #8
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

33·192 Posts
Default

Quote:
Originally Posted by bgbeuning View Post
The file-system is still case insensitive. So code may compile with gcc under the Linux subsystem of Windows but then not compile on native Linux.
Interesting...

If you run the command: "ls -la /usr/lib/" in that environment what do you see?
chalsall is offline   Reply With Quote
Old 2016-04-23, 01:29   #9
bgbeuning
 
Dec 2014

3×5×17 Posts
Default

The current release is a Beta. The official is due this summer. Maybe it will be fixed by then.

Quote:
NTFS supports two slightly different modes of operation that can be selected by the subsystem of the application interacting with NTFS. The first is fully case sensitive and demands that file names supplied by the application match the names stored on disk including case if the file on disk is to be selected. The second mode of operation is case preserving but not case sensitive. This means that applications can select files on the disk even if the supplied name differs in case from the name stored on the disk. Note that both modes preserve the case used to create the files. The difference in behavior noted here applies only when an application needs to locate an existing file. POSIX takes advantage of the full case sensitive mode, while MS-DOS, WOW, and Win32 subsystems use the case insensitive mode.
The POSIX subsystem has been around since Windows NT (but I have never figured out how to use it). Maybe they need to make the Linux subsystem use the same mode as POSIX.
bgbeuning is offline   Reply With Quote
Old 2016-04-23, 02:03   #10
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

3·19·109 Posts
Default

So how does the case insensitive file selector work for two files named the same but only differ in case?
retina is offline   Reply With Quote
Old 2016-04-23, 02:15   #11
casevh
 
Dec 2005

23 Posts
Default

Quote:
Originally Posted by bgbeuning View Post
The file-system is still case insensitive. So code may compile with gcc
under the Linux subsystem of Windows but then not compile on native Linux.
I tried a simple test on Preview Build 14328 that was released today. From the bash shell, the commands:

echo "a" > a
echo "A" > A

created two separate files. The file named a contained the letter a. The file named A contained the letter A.

From the Windows command prompt, the commands:

echo a > a
echo A > A

created a single file. The resulting file was named a and contained the letter A.

At least with this test, it does appear that the Linux subsystem is case-sensitive. I don't know if this is a sufficient test.
casevh is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bash on Ubuntu on Windows henryzz Software 11 2017-07-28 21:24
Windows 7 / Ubuntu dual boot system? Andi47 Linux 35 2012-05-28 11:05
Windows update and end of life support ixfd64 Lounge 2 2011-01-10 22:30
Windows 7 support Octopuss Software 2 2009-10-22 00:23
Debian developer needed... Xyzzy Linux 5 2006-06-01 14:56

All times are UTC. The time now is 11:32.


Tue Jul 27 11:32:47 UTC 2021 up 4 days, 6:01, 0 users, load averages: 1.66, 1.51, 1.67

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.