Hello,   for all users that want to build GCC and GDB under CYGWIN and an error occur with cygwin.dll version 1.1.1 or 1.1.2, I have a good news, I have found that is the "patch" command that transform output files in text mode with an \r in end of line, then the command "tr -d '\r' ecos-gcc-2952.pat ¦ patch -p0" create output file that make problem with make command.   I have build this little bash file for correct the files updated with path, you can apply the patch of gcc and gdb and after go this little bash script file :     #!/bin/bash # Correct the Patch error output in text mode with \r End of Line for GCC patch cd /src/gcc/gcc-2.95.2 tr -d '\r' < gcc/Makefile.in > foo ; cp foo gcc/MakeFile.in tr -d '\r' < gcc/configure.in > foo ; cp foo gcc/configure.in tr -d '\r' < gcc/configure > foo ; cp foo gcc/configure tr -d '\r' < gcc/reload1.c > foo ; cp foo gcc/reload1.c tr -d '\r' < gcc/config/i386/i386elf.h > foo ; cp foo gcc/config/i386/i386elf.h tr -d '\r' < gcc/config/i386/t-i386elf > foo ; cp foo gcc/config/i386/t-i386elf tr -d '\r' < gcc/config/sparc/liteelf.h > foo ; cp foo gcc/config/sparc/liteelf.h tr -d '\r' < gcc/config/sparc/sp86x-aout.h > foo ; cp foo gcc/config/sparc/sp86x-aout.h tr -d '\r' < gcc/config/sparc/t-sp86x > foo ; cp foo gcc/config/sparc/t-sp86x tr -d '\r' < gcc/config/sparc/sp86x-elf.h > foo ; cp foo gcc/config/sparc/sp86x-elf.h tr -d '\r' < gcc/config/arm/arm.h > foo ; cp foo gcc/config/arm/arm.h tr -d '\r' < gcc/config/arm/t-arm-elf > foo ; cp foo gcc/config/arm/t-arm-elf tr -d '\r' < config.sub > foo ; cp foo config.sub tr -d '\r' < gcc/config/mips/elf.h > foo ; cp foo gcc/config/mips/elf.h tr -d '\r' < gcc/cstamp-h.in > foo ; cp foo gcc/cstamp-h.in tr -d '\r' < gcc/config.in > foo ; cp foo gcc/config.in rm foo # Enf of Job echo "End of Job !"   #!/bin/bash # Correct the Patch error output in text mode with \r End of Line for Insight-5.0 patch cd /src/gdb/insight-5.0 tr -d '\r' < tcl/generic/tclFileName.c > foo ; cp foo tcl/generic/tclFileName.c tr -d '\r' < tcl/generic/tclInitScript.h > foo ; cp foo tcl/generic/tclInitScript.h tr -d '\r' < tcl/win/tclWinFile.c > foo ; cp foo tcl/win/tclWinFile.c rm foo # Enf of Job echo "End of Job !"   after apply this little script, you can build your tools with configure and make, all is right.   I have search for modify the patch command line (--binary)  or ... but unsuccessly, if any find how make more simply   like this :  patch -p0 < ecos-gcc-2952.pat ¦ tr -d '\r'     (this sample dosen't work unfortunately)   say me at charles-henri@prolectronic.com     Â