Re: Binary file write has CRLF inserted

2005-11-11 Thread Eric Blake
> I have used cygwin to build the GCC ARM tools and libraries. I am using the > cygwin1.dll for running my application on windows. > > fp = fopen("c:\\hi.yuv", "wb"); There's your problem. Use POSIX names if you want POSIX behavior. Try fopen("/cygdrive/c/hi.yuv") instead. -- E

Binary file write has CRLF inserted

2005-11-11 Thread DSP Tech
Hi, I have used cygwin to build the GCC ARM tools and libraries. I am using the cygwin1.dll for running my application on windows. But file write in my application program has problem. The code is { FILE *fp; fp = fopen("c:\\hi.yuv", "wb"); fwr