%% "Giuliano Garuti" <[EMAIL PROTECTED]> writes: gg> Recently I purchased the Cygwin v1.0 software to compile Linux C gg> source files in the Windows NT environment. But something went gg> wrong. Executing the "Make" command (GNU Make version 3.77) it gg> displays the subsequent message: gg> Makefile:12: *** commands commence before first target. Stop. Note that the Cygwin version of GNU make is slightly different than the "normal" GNU make version. You should contact Cygwin directly for help with their version. However, I'll tell you what's probably wrong: the makefile in question has been saved in "DOS mode"; that is, it's been modified to use DOS/Windows-style line endings which consist of two characters: a carriage return (CR) _and_ a linefeed (LF), commonly known as CRLF line endings. UNIX systems use a single character as a line ending, just the LF. Often if you edit a file using a Windows editor, it will "helpfully" convert all the line endings for you without asking. Older versions of GNU make didn't handle CRLF line endings correctly. This was fixed in (I believe) GNU make 3.78; all newer versions will work with both types of line endings. Your choices are: (1) change your makefile back to use UNIX line endings, (2) get a fixed version of GNU make from Cygwin (ask them about it), or (3) get the latest "regular" version of GNU make (3.79.1) from the FSF (www.gnu.org) and build it for Windows (see the README.W32 file for information on this). -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, but I am a professional." --Mad Scientist