From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 90747 invoked by alias); 24 Oct 2017 17:57:53 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 90735 invoked by uid 89); 24 Oct 2017 17:57:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=eclipse, schedules, policy X-HELO: mail-oi0-f42.google.com Received: from mail-oi0-f42.google.com (HELO mail-oi0-f42.google.com) (209.85.218.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 24 Oct 2017 17:57:51 +0000 Received: by mail-oi0-f42.google.com with SMTP id c77so38791671oig.0 for ; Tue, 24 Oct 2017 10:57:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=SKU4s05Kty4OFvJ8SC9XE1+BQ3ba+GdmBwn/5r95V2Y=; b=CzlSDkB+OmBA7c0BouYxpOGz7dDXYxKMLT/kFL1d9AFF3rhgndax+odSUjxQMRwoQU 7xPSOGNzkhhoZcACrzGgQLBhIeOiTpxe9fXPtDXvkkQu6BZ6kets7nDBSSmCjnlIeWMj XMy/Aku3tfFkE5N1vyQw9jCoaPje6yuP2ZcvAxyiOGzDzhtG/yGrsMoIqr4J5p/la4OP tDIoFBZEXAve7WKq5LKc2/m31ilq+WRirfb2ecuUvPtg4NJ+0m2ePJBfNxOLxhstg29S tGtBst7kCV/4jZC8ik2hmGA0fzB3imYkCNdkRD1TEJv0koE4idauvfxiviZ9YOrJcDnO +h4Q== X-Gm-Message-State: AMCzsaWhDpBei8/twAs9LUKminhjBlEs8Y46S6g2cK6kdt7f8Zj31q4Y bE9A6WZaUJ1OEC6C3/fQp1Y+/koccgOKzjSOtumeOA== X-Google-Smtp-Source: ABhQp+TYcDIJz+gF+bgTq+sVAb8TPMyWat+PZNFCxJxJAY8R+TBqL1De2bQcvFfJdz53lUSqw+fkq22RudZyIe7tF5w= X-Received: by 10.202.98.135 with SMTP id w129mr9272441oib.7.1508867869907; Tue, 24 Oct 2017 10:57:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.85.79 with HTTP; Tue, 24 Oct 2017 10:57:49 -0700 (PDT) In-Reply-To: <583VJwmlE8176S02.1508762310@web02.cms.usa.net> References: <583VJwmlE8176S02.1508762310@web02.cms.usa.net> From: Michael Enright Date: Tue, 24 Oct 2017 17:57:00 -0000 Message-ID: Subject: Re: Cygwin alongside WSL To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00293.txt.bz2 On Mon, Oct 23, 2017 at 5:38 AM, KARL BOTTS wrote: > > Does anybody have any concrete experience using Windows Subsystem for Linux > (hence WSL) on the same machine, alongside Cygwin? > Yes. I have. I assume you are soliciting some descriptions of people's experience. I have various projects which come from various git repos. I use Eclipse CDT to edit these most of the time. This makes it a little tricky to use WSL. I use Cygwin, 64-bit version, when I have to do checkouts or pushes, and I do this from a Cygwin mintty bash session. This puts my files in a subdirectory of $HOME in Cygwin. I use WSL to build and execute my programs. I generally would be using a straight g++ command to build, or CMake. Eclipse, which we may think of as an "ordinary Windows program" for this discussion, cannot access files in the WSL filesystem without using unsupported tricks, so that's why I don't keep my files under WSL's filesystem. On the other hand, using WSL I have less differences with Debian. Since the projects are not meant to support "all POSIX systems" or "Cygwin and Linux", these things give me what I need. Most of the time I don't run into differences between Cygwin and WSL, because I don't go into the areas where they do differ. I have done a few graphical projects but they output to raster files instead of the screen. The biggest problem in this is Eclipse, and indeed the complete lack of a decent graphical IDE for WSL. This means that the most useable configuration for Eclipse is to define the project as a Cygwin project, which will have minor differences with Ubuntu. The two have different schedules for updating the C++ compiler, CMake, and so on. Also most IDEs default to cr-lf line separators when they run on Windows. But at least Eclipse can be configured to newline separators. Some IDE's do not allow themselves to be configured 'non-native'. The Windows boxes in question are allowed to update themselves overnight and I run the usual update commands on WSL itself. I haven't found this update policy to interfere with my work so far. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple