www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/08/05:16:26

Date: Mon, 8 Jan 1996 12:06:33 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Lee Braiden <lee_b AT celestia DOT dnet DOT co DOT uk>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: "Missing Separator" error in make

On Sun, 7 Jan 1996, Lee Braiden wrote:

> I was using DJGPP v2 for a while there, but reinstalled v1.11m4 for 
> RSXWDK ... suddenly I started getting those errors again.. I'm using 
> batch files instead of make now !!! =(

Check your makefiles first.  GNU Make insists on having a TAB the first 
character of the rule line, like in the following:

file.o: file.c
	gcc -c file.c

The first character on the line `gcc -c file.c' should be a TAB, not a 
SPACE!  Other versions of Make are more tolerant in this context.

> Anyways, I've still got v2 installed, and noticed that the errors 
> don't occur with it's make, although it won't run the v1 compiler

It should be the other way around: v1.x Make could have problems in 
running v2.0 programs.  Could it be that Make was OK, but it invoked a 
v1.x program which tried to run v2.0 program?  If not, then the above 
shouldn't happen.
 
> (with my config?)  - so it looks like a bug in v1 or v1's make to me 
> - any opinions from the experts ?

If your Makefiles use drive letters in targets and dependencies, then 
yes, Make 3.73 and later supports it while previous versions don't.  The 
version of Make distributed with dj112m4 is 3.71.  By ``drive letters in 
targets and dependencies'' I mean a line like this:

d:/objs/file.o: c:/src/lib/file.c

- Raw text -


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