Re: [crazy bug] please help me

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

 



-----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 <ebb9@xxxxxxx> 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             ebb9@xxxxxxx
-----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-----


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux