public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Adding MSYS functionality to Cygwin
Date: Tue, 18 Jun 2013 19:10:00 -0000	[thread overview]
Message-ID: <20130618185917.GA4868@ednor.casa.cgf.cx> (raw)
In-Reply-To: <CABEPuQJDLjtbcLig1isTUJgb6RBCD8LNShbm9mTPcb9WM5S5fw@mail.gmail.com>

On Tue, Jun 18, 2013 at 10:40:36PM +0400, ??????? ?????? wrote:
>Hi everybody!
>
>I want to add MSYS functionality to Cygwin.
>More than 10 years ago Cygwin 1.3 had forked to MSYS. But now this
>MSYS is very old and don't has any support for it.
>Primary goal of MSYS is to provide environment with GNU utilities for
>building application using native Mingw compilers. The main
>differences from original Cygwin is working with native Win32
>applications.
>So I create new MSYS based on last Cygwin and it works good I think.
>But I think that the right way is to implement MSYS functionality in
>Cygwin sources directly because in this case we don't need to do many
>copies of different Cygwin dll with other names. And we always has
>latest work from Cygwin guys.
>
>I can write next tasks that need to be in MSYS mode:
>
>1. The correct definition of executables belonging to Cygwin DLL.
>2. Translating paths in arguments and environment variables to Windows
>form for pure Win32 applications.
>3. In MSYS mode Cygwin need to be very portable: do not use registry
>to store any info, do not use /etc/passwd and /etc/group, all mount
>points need to be with noacl option to avoid problems with permission
>denied.
>4. Ability to change OSNAME that controlled by uname function in Cygwin DLL.
>5. Use shorted mount point options in /etc/fstab - only win32_path and
>posix_path.
>6. SYMLINKS. Now Cygwin can work with native symlinks but it cannot be
>used in all situations. From the other side - Win32 applications
>doesn't understand Cygwin symlinks. As fallback option we need to
>create copies of files and directories instead symlinks.
>
>I want to hear your opinions about how it can be implemented in Cygwin codebase.

Corinna and I have been discussing this in private and I thought
someone (you?) was going to bring this up in the cygwin-developers
list.

However, since you mention it here, my opinion is that we should add
hooks in the DLL which allow certain operations like path translation,
symlinks, and command line substitution to be short-circuited or
modified.  In that scenario, you'd still have a MSYS.dll but it would
rely on cygwin1.dll for most of the heavy lifting.

cgf

--
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

  reply	other threads:[~2013-06-18 18:59 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-18 18:59 Алексей Павлов
2013-06-18 19:10 ` Christopher Faylor [this message]
2013-06-18 19:30 ` Warren Young
2013-06-18 19:31   ` Алексей Павлов
2013-06-18 22:12     ` Warren Young
2013-06-18 22:35       ` Warren Young
2013-06-18 23:51       ` Warren Young
2013-06-19  2:03       ` Christopher Faylor
2013-06-19  7:17         ` Алексей Павлов
2013-06-19  8:15           ` Alexey Pavlov
2013-06-19 11:04           ` Corinna Vinschen
2013-06-19 13:02             ` Alexey Pavlov
2013-06-19 17:31         ` Warren Young
2013-06-19 17:57           ` Christopher Faylor
2013-06-20  3:30             ` Charles Wilson
2013-06-20 13:12               ` Earnie Boyd
2013-06-20 17:13                 ` Corinna Vinschen
2013-06-19 13:41       ` Charles Wilson
2013-06-19 18:38         ` Warren Young
2013-06-19 19:27           ` Yaakov (Cygwin/X)
2013-06-20 18:11             ` cygport limitations (was: Adding MSYS functionality to Cygwin) Warren Young
2013-06-20 18:44               ` Corinna Vinschen
2013-06-21  4:41                 ` Andrew Schulman
2013-06-21  8:06                   ` Corinna Vinschen
2013-06-21 16:55                     ` Christopher Faylor
2013-06-21 20:35                       ` Andrew Schulman
2013-06-21 21:01                         ` Christopher Faylor
2013-06-24  9:13                       ` Corinna Vinschen
2013-06-24 11:31                         ` Earnie Boyd
2013-06-24 11:56                           ` Corinna Vinschen
2013-06-25 11:12                             ` Csaba Raduly
2013-06-25 12:06                               ` Earnie Boyd
2013-06-21 18:07                 ` cygport limitations Warren Young
2013-06-21 18:38                   ` Warren Young
2013-06-21 19:31                     ` Yaakov (Cygwin/X)
2013-06-24  9:17                       ` Corinna Vinschen
2013-06-20 19:11               ` Yaakov (Cygwin/X)
2013-06-21  7:26                 ` Warren Young
2013-06-20 22:31               ` David Stacey
2013-06-18 21:22   ` Adding MSYS functionality to Cygwin Christopher Faylor
2013-06-18 21:29     ` Warren Young
2013-06-19  2:05       ` Christopher Faylor
2013-06-19  9:05         ` Corinna Vinschen
2013-06-19  9:29           ` Corinna Vinschen
2013-06-19 17:03             ` Warren Young
2013-06-19 17:36               ` Corinna Vinschen
2013-06-18 21:33 ` Charles Wilson
2013-06-19  2:06   ` Christopher Faylor
2013-06-19 13:59     ` Charles Wilson
2013-06-19 15:56 ` Earnie Boyd
2013-06-19 20:25   ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130618185917.GA4868@ednor.casa.cgf.cx \
    --to=cgf-use-the-mailinglist-please@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).