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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=sKwbKjXpkhK4eVmHX05Jua78ebCNGZ4+xKmcsGtBcR7 v1U4wERaiPa8mu6h4/7yn8URPURJIH0b9w1yviRQUOPDSeXF4w22K3NWVvTqgBjR isRkQDPAopNdnKAG6Cx4zicO8jxCzITjX07GZeGCcI04kw+T6N8KEs7BdO1+SY08 = 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:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=XZqrxLkDXtBnYrN7+i3KAhbVaA4=; b=o7Nz25oL0UHSnFSs9 3u6U2lBemPIDDPjin9ZMhfcCYe5I9h7A/pIQORiktcMF0SbHN++zQKxCFpp4bKzu fn8+lFFyn4vsfcQs1yfNEkJPpuRTqFKEjDtlCmMvr7HrVLVCJ9H1/xadATcEtV7S 6DMAYTEyyvj+OU61tYmQodCRbo= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ie0-f176.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=5prmYxOFA1nkHAFH3vaqPKTVgWvorxuEM97YH5TWnBw=; b=AHFsUzGdKHeKPqqVNxDjaV+kksNOeJMArMwIFWosdwShSKKpzZKdDjGppywckLPmSI HkDxSoXmUMlo1KSfCae/8ys7YYcupOuX8qnu9tC99AhcSCU7mHVAba3XKRZLNyLzni+S 0UubwF5EF+pD9O2CRsN7nDF5vFvgHl/oohf0Hx3sQZhwLF613+jejUZMngb9oKVfnF4D VmBPUfhLMpfuJJ1344dAe3GmKRi83vhgY0mRVJkgv8VYSu1bljgr2vqeBNpG2wKE6uQJ 9EmD9HnrGOL5YmnkrPmhpYF43W9YezKMfwl4xTNkbZTQWMd5JRxKqGIHcpHAxDHNF8zk /3qw== X-Gm-Message-State: ALoCoQkYyf0I4qWJjd4HKYcnBkW3g7M1T0fxv93xubZ3EtvaO5q2mWawE6mo0Qydygi1nCwt3rpj X-Received: by 10.42.137.70 with SMTP id x6mr1048463ict.79.1402013532773; Thu, 05 Jun 2014 17:12:12 -0700 (PDT) Message-ID: <53910754.7030805@breisch.org> Date: Thu, 05 Jun 2014 20:12:04 -0400 From: "Chris J. Breisch" User-Agent: Postbox 3.0.11 (Windows/20140602) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Cygwin on Max OS X ? References: <648160868 DOT 20140605183532 AT yandex DOT ru> <539089CC DOT 7030502 AT etr-usa DOT com> <1352292014 DOT 20140606032324 AT yandex DOT ru> In-Reply-To: <1352292014.20140606032324@yandex.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Andrey Repin wrote: > Greetings, Warren Young! > >>> make sure the tools you are using are >>> available for Cygwin in the same (or compatible enough) form. > >> OS X is closest to the BSDs in terms of userland and kernel APIs, >> whereas Cygwin mostly emulates Linux, except where Win32 leaks through. >> There are plenty of differences between them that can justify testing >> under both environments: > >> - vast dynamic linkage, networking, and ACL/EA differences >> - /Users, /System, /Library vs /home, /sbin, /lib >> - BSD find, locate, etc. vs GNU findutils >> - bsdtar vs GNU tar >> - no /proc in OS X >> - /dev/clipboard vs pbcopy/pbpaste >> - strace vs dtrace >> - /etc files, SAM and AD vs Open Directory >> - launchd vs Windows Services > > I kind of know that. Had a Mac for short of a year myself, and used and > exploited it thoroughly. > I think, the real question could only be answered by the OP himself: What > actually you are doing, what parts of the system your scripts are touching, > etc. > I know what I write (that has to be cross-platform) is easily portable, > because it is pretty self-contained, not touching the system core in any way. > At least, it works transparently on Mac/Linux/Win with no changes to the core > functionality, even if sometimes need a bit of pre-configuration to adapt to > the specific user's locations and such. But this would be true for many > projects. > I had a crazy idea about this. You could port cygport to OS X. That shouldn't be too hard. Then grab the source packages using setup on a Windows box and scp them over to your Mac. Then remove any Cygwin specific patches, and build them using cygport (most of them do). Maybe change the configs to install in /usr/cygwin/bin or /opt/cygwin/bin or something like that. I think most things should compile without too much difficulty, and you'll have a fairly compatible Cygwin-like system on your Mac. Yes, I know that some Cygwin-specific apps probably won't compile at all. After all, it's not cygwin1.dll that you want to port, it's the Cygwin environment. Probably a fantasy. Using the Macports stuff is almost certainly easier. -- Chris J. Breisch -- 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