delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/10/24/13:58:04

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=kXEZzAE
VA/kIZnv3xiNcp1VwwCVZKUGLiHtmIbJFeB3aerfXdZ/c5QJcTWciUdLBC72+loJ
xqyrbklJzBsQkysvW8oPHDBTa+9tVV8PrqOABlcPncafJz4dNwuq57eIFs4dlTSy
aTrScfM6oMIBvtCrsnIDJNNDl6rstM+e3Exc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=ecNjcODoTmpZU
06jQtq8fTHN9/c=; b=q3lQPxUd4vbt+yrjX67/WVJynJtBUBla8lZnoCfnQfA76
96QcA3HhbVbMaJOvckUo64zNykKuo2QAE7iuro2kqz5AkZbArfEcl3ZRZZp7BP6f
Eybe6GkS0xnEAmLpDX4HGO9FEUIzKW9CeqyklUdDnsfKsg37EQO5K/Xfcv8Gms=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
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
In-Reply-To: <583VJwmlE8176S02.1508762310@web02.cms.usa.net>
References: <583VJwmlE8176S02 DOT 1508762310 AT web02 DOT cms DOT usa DOT net>
From: Michael Enright <mike AT kmcardiff DOT com>
Date: Tue, 24 Oct 2017 10:57:49 -0700
Message-ID: <CAOC2fq_Uw2bubr1gGYYcHwSjOT3ckzC=yCJqoLF0xhUeRsefYQ@mail.gmail.com>
Subject: Re: Cygwin alongside WSL
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

On Mon, Oct 23, 2017 at 5:38 AM, KARL BOTTS <kdbotts AT usa DOT net> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019