From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23105 invoked by alias); 23 May 2007 13:04:52 -0000 Received: (qmail 23042 invoked by uid 22791); 23 May 2007 13:04:40 -0000 X-Spam-Check-By: sourceware.org Received: from smtp.lu.unisi.ch (HELO smtp.lu.unisi.ch) (195.176.178.41) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 23 May 2007 13:04:36 +0000 Received: from mail.lu.unisi.ch ([195.176.178.40]) by smtp.lu.unisi.ch with Microsoft SMTPSVC(6.0.3790.3959); Wed, 23 May 2007 15:06:14 +0200 Received: from scientist.mobile.usilu.net ([192.168.76.145]) by mail.lu.unisi.ch over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Wed, 23 May 2007 15:03:50 +0200 Message-ID: <46543BE2.1010209@lu.unisi.ch> Date: Wed, 23 May 2007 13:04:00 -0000 From: Paolo Bonzini Reply-To: bonzini@gnu.org User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: Nick Clifton CC: bonzini@gnu.org, aoliva@redhat.com, binutils@sourceware.org, gdb-patches@sourceware.org Subject: Re: RFC: Adding a check to the top level configure script for a binary-mounted cygwin-hosted build directory References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-05/txt/msg00361.txt.bz2 Nick Clifton wrote: > Hi Paolo, Hi Alex, > > May I ask for your advice on a configure script matter ? > > The Binutils bug PR 4334 has pointed out the problems of trying to > build a toolchain under Cygwin with a build directory mounted in > text mode. So, I think that it is agreed that toolchains should > only be built on bin-mounted drives and I would like the configure > script to make sure that this happens. > > I am attaching a provisional patch which I think will do what I > want, but I would like to get your comments it. I tested the > patch under both Cygwin and Linux, and it does not appear to > introduce any new problems, so I am reasonably confident that it > works. But I am not at all sure that I have used the best approach > to the problem. Your comments ? I haven't looked at the patch yet, but as an aside, I think this should also go into the main autoconf distribution; there is no reason why somebody should build under a text-mode mounted directory. Paolo