[PATCH] Support for building using WSL (Windows Subsystem for Linux) on Windows (original) (raw)

Andrew Luo andrewluotechnologies at outlook.com
Sun Dec 16 08:01:31 UTC 2018


For me, /mnt/c was already mounted case insensitive. Maybe this is only the default for the C:\ drive though (or perhaps depends on your Windows/WSL version?)

Anyways, I've synced down the sandbox and added a new patch to address some of the feedback (and some of my own minor enhancements):

  1. Got rid of EXECUTABLE_SUFFIX in favor of EXE_SUFFIX, which had to move earlier in the sequence
  2. Use $EXE_SUFFIX instead of .exe literal per Magnus' feedback
  3. Added information about WSL versioning to build, similar to Cygwin
  4. Updated building.md and building.html with WSL build instructions

(By the way, you misspelled my name in your sandbox commit): http://hg.openjdk.java.net/jdk/sandbox/rev/12615de8335e

I will work on fixing the Cygwin path extraction in my next patch. Most likely I will just restore the old code for Cygwin while using the new code for WSL, unless there are other suggestions... Aside from this, is there any other feedback that I should take into account before we can merge this into the main repository?

Thanks,

-Andrew

-----Original Message----- From: Erik Joelsson <erik.joelsson at oracle.com> Sent: Friday, December 14, 2018 5:42 PM To: Andrew Luo <andrewluotechnologies at outlook.com>; Magnus Ihse Bursie <magnus.ihse.bursie at oracle.com> Cc: build-dev at openjdk.java.net Subject: Re: [PATCH] Support for building using WSL (Windows Subsystem for Linux) on Windows

After having configured my WSL to mount using case=off, I was able to successfully build images using the latest patch as applied in the sandbox.

/Erik


More information about the build-dev mailing list