X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4EA04671.6030705@gmail.com>
References: <CALEg2updBG-XW2TK6sBg8cSyYR1kcgxKUUn72-O84HY04J=-oQ@mail.gmail.com>	<4EA04671.6030705@gmail.com>
Date: Thu, 20 Oct 2011 11:53:11 -0500
Message-ID: <CALEg2uq8ehpdjEG-Q3Pk7XwE_EtWJnTFJKSpC4P4kMKQ_b3SDQ@mail.gmail.com>
Subject: Re: building a cygwin aware GHC
From: Nathan Thern <nthern@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Thu, Oct 20, 2011 at 11:04 AM, Marco Atzeri <marco.atzeri@gmail.com> wrote:
> no experience on GHC and looking at the source, I am sure you need
> to cut through the source tree.
> Look also the aclocal.m4 ont only configure.ac

Yep.

> I noticed also wrong/obsolete assumption around the code
>
> libraries/base/GHC/ConsoleHandler.hs:--  * Cygwin shells with @CYGWIN=tty@

Things like that are strewn throughout the code. My approach this time
is going to be any if or case or #ifdef that checks cygwin or mingw or
msys or win32 etc. gets expunged. What I'm really wondering is are
there any CPP flags or autotools settings that I need to _not_ expunge
for purposes of signals, timing, networking, or getting the right
headers?

NT

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

