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:date:message-id:subject:from:to :content-type; q=dns; s=default; b=rO90L34D3B+xOxlPubf8YfS/IJe8B j6g/crG+cyA4E+fLzv2eyGaYHEUIoQtQ6Cdg9/pEhPoHXlgq8xhnhh1SZ8Zd/Vqa ShcyU6DQ7h6CWPpa4AIS1u8C2AMqX0c+xvX6wXOHIa5j8yzdoBj62/0FQ8J4AMs5 cMmsqxHoGWs0Jg= 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:date:message-id:subject:from:to :content-type; s=default; bh=c4AHlvQxbH+EZmA8Pn6Vgcr/sZc=; b=fzT QDhAURmixjSxSxNABTsINWy7QpVOQQbYZLPcTqrXJZZ8ZuP79HvX7tTm8gaLeqSp D7g2dMV3a93WWkSOEZZ3toF98b776My0aJwW0O35gmlEpknVbu3HZKRMxQozEjew sKl9hZD6MOS8jdtq03+1CgLabN2VUIXsylwuMfGw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=4.0 required=5.0 tests=AWL,BAYES_00,CHARSET_FARAWAY_HEADER,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 MIME-Version: 1.0 X-Received: by 10.194.87.100 with SMTP id w4mr11557190wjz.34.1371580836975; Tue, 18 Jun 2013 11:40:36 -0700 (PDT) Date: Tue, 18 Jun 2013 22:40:36 +0400 Message-ID: Subject: Adding MSYS functionality to Cygwin From: =?KOI8-R?B?4czFy9PFyiDwwdfMz9c=?= To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 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. Regards, Alexey. -- 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