autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [crazy bug] please help me


From: Eric Blake
Subject: Re: [crazy bug] please help me
Date: Mon, 23 Nov 2009 20:18:46 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Steffen Dettmer on 11/23/2009 2:11 PM:
> On Sat, Nov 21, 2009 at 11:58 PM, Eric Blake <address@hidden> wrote:
>> It looks like a carriage return may be interfering with the resulting
>> message.  Could this be a case of using text mode line endings, instead of
>> binary mode?  On cygwin, autoconf is only supported on binary mounts.
> 
> Ohh really? Is this a new requirement?

No, more like an old issue of no one ever caring enough about text mode to
bother submitting a patch to make it work.  I'll gladly apply such a
patch, but it's not my itch, so I won't be writing it.

> Here I use autoconf 2.61 on textmode mounts. Please correct me if
> I'm wrong, but using binmode would make cygwin CVS check out the
> files with unix line feeds, wouldn't it?

Use of binmode mounts means that you don't have to worry about spurious
carriage returns getting inserted in files by tools that speak text, only
to confuse tools that only speak binary.  When it comes to cygwin, there
are enough tools that are binary only (because that is what POSIX
requires) that it is just flat out easier to use binmode mounts when
running autoconf.  Textmode mounts, on the other hand, are painful to
manage without a lot of care.

> Files with unix line feeds are not expected by many windows tools
> (vim/emacs work fine, but e.g. MS DevStudio 6 or even notepad.exe
> are odd).

But using cygwin implies that you want a Unix-y environment, in which case
you would be using gcc or vi/emacs, not DevStudio or notepad.  If you
really care about windows tools, then it may be wiser to try mingw instead
of cygwin.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksLUJYACgkQ84KuGfSFAYCPegCeOQyUa8HFnTGd+MvM93qhzVXg
OcIAoIfDgNK2tuRaCXs6P4Ov0tmG+eKr
=Z0Eu
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]