[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Date: Wed, 3 Feb 1999 20:26:44 -0000
- From: D.J at fiddes.surfaid.org (David J. Fiddes)
- Subject: Cygwin tip
Just been looking at the Cygwin web site to see how to report a bug in
cygwin when I discovered the solution to my problem. When patching files in
Cygwin all the files would end up as DOS format files which was incredibly
annoying as gcc, make, sh, etc were all expecting unix format files. Turns
out that pipes in Cygwin default to DOS format pipes(grrr) but by setting
adding "binmode" to the CYGWIN environment variable they behave like
standard unix pipes. If you want to use patch with things like RTEMS I'd
advise editing your cygwin.bat so that it has:
Setting the home directroy is not always necessary but it can cause
unexplained pauses in some programs...
Appologies if you've know this for while... "Dave never was the sharpest
tool in the box"