This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Make addity?
- To: Lewis Beard <lewis dot beard at wcom dot com>
- Subject: Re: Make addity?
- From: David Fox <dsfox at cogsci dot ucsd dot edu>
- Date: 26 Sep 1998 08:44:15 -0700
- Cc: Gnu-Win32 Mailing List <gnu-win32 at cygnus dot com>
- References: <360BB627.78921C74@wcom.com>
Lewis Beard <lewis.beard@wcom.com> writes:
> All,
>
> As requested, I looked through back issues of the newsletter before
> posting. I DID find mention of my problem, but no solution was given and
> the answer didn't satisfy me.
>
> I have a problem in that, when I modify my make files, I get:
>
> makefile:48: *** missing separator. Stop.
>
> To me this is a serious problem; it occurs when I add new lines or
> delete lines entirely. It happens whether or not I have a unix or dos
> line type. The only way I can get around it is to keep my makefile on a
> unix box on the internet and make changes there and ftp it across,
> because once I change the length of the file or add lines or whatnot, I
> get this seperator problem. What gives? Why this is happening? Is there
> a way around it without a new or patched make?
I suspect that this is about make not understanding the ^M at the end
of every line in a windows file. The easiest way around this is to
put an FTP server on your windows box and then do all your editing on
your Unix box, using the ange-ftp feature of emacs to access the files.
Other than that, maybe there is some tool to strip the ^Ms off. I've
used sed for this in the past, though I usually just use Emacs. Or
perhaps I'm completely wrong about the source of the problem.
--
David Fox http://www.cat.nyu.edu/fox xoF divaD
UCSD HCI Lab dsfox@cogsci.ucsd.edu baL ICH DSCU
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".