This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Build fails in makeinfo
- From: "Aaron W. LaFramboise" <aaron98wiridge9 at aaronwl dot com>
- To: Danny Smith <dannysmith at users dot sourceforge dot net>
- Cc: binutils <binutils at sources dot redhat dot com>
- Date: Sat, 26 Feb 2005 21:12:05 -0600
- Subject: Re: Build fails in makeinfo
- References: <42210FA2.2030705@aaronwl.com> <000501c51c69$c7ba5b30$724861cb@DANNY>
Danny Smith wrote:
> Aaron W. LaFramboise wrote:
>> section mapping' (perhaps incorrect sectioning?). `mmo
>> a New Hash Table Type' (perhaps incorrect sectioning?).iving
>>makeinfo: Removing output file
>>`/aaronwl/cs/compilers/binutils/src/cvs/src/bfd/doc/bfd.info' due to
>>errors; use --force to preserve.
>>make[3]: ***
>>[/aaronwl/cs/compilers/binutils/src/cvs/src/bfd/doc/bfd.info] Error 1
> Does this help:
> + #ifdef __MINGW32__
> + /* Prevent \r\n line endings. */
> + #include <fcntl.h>
> + unsigned int _CRT_fmode = _O_BINARY;
> + #endif
> +
Yes! It does.
However, is it a good idea to apply this sort of thing? It seems that
the real trouble is in my makeinfo, not in chew. makeinfo should be
able to accomidate Windows line endings when it is built on Windows.
I'm a little curious why I am suddenly having this problem now, when I
didn't have it before.
For what its worth, I have a similar problem with GCC too.
Aaron W. LaFramboise