delorie.com/djgpp/bugs/show.cgi   search  
Bug 000008

When Created: 06/30/1995 10:34:50
Against DJGPP version: 2.00.beta1
By whom: jorgens@pvv.unit.no
Abstract: GNU make doesn't like MSDos file format
GNU Make stop with an error message when
trying to parse a Makefile which is 
using the MSDos text-file format.

Ex.:

makefile:<NR>: *** missing separator.  Stop.

Where <NR> is the last line in the
makefile.

In order to get make to parse the file 
you need to strip the makefile for
^M (Ctrl-M)'s and ^Z (Ctrl-Z).

Note added: 07/03/1995 12:08:04
By whom: eliz@is.elta.co.il
My testing indicates that the only problem is the ^Z character at the
end of the file.  MS-DOS text files with CR-LF pairs but WITHOUT ^Z
at the end are processed by Make OK.

Fixed in version 2.00.beta2 on 07/08/1995 23:20:09
By whom: dj@delorie.com



  webmaster     delorie software   privacy  
  Copyright © 2010   by DJ Delorie     Updated Jul 2010