RFC: Adding a check to the top level configure script for a binary-mounted cygwin-hosted build directory

Nick Clifton
2007-05-23T12:52:14Z

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 ?

Cheers
Nick

ChangeLog
2007-05-23 Nick Clifton <nickc@redhat.com>

* configure.ac: Call ACX_CHECK_CYGWIN_MOUNTED_BUILDDIR for
Cygwin based hosts.
* configure: Regenerate.

config/ChangeLog
2007-05-23 Nick Clifton <nickc@redhat.com>

* acx.m4 (ACX_CHECK_CYGWIN_MOUNTED_BUILDDIR): Define.