🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Drazen Borkovic Fri, 19 Jan 1990 23:27
difference between gnu make and make
#604
Author: Drazen Borkovic
Date: Fri, 19 Jan 1990 23:27
41 lines
1894 bytes
I tried sending this to <roland@wheaties.ai.mit.edu>, but the mail
bounced.


I am not quite sure which of the involved program is at fault,
but i guess you might know.

I have a Makefile containing something like:

all:
	390-latex file

390-latex is a /bin/sh script that executes latex on a remote machine
(much faster than local one). The problem i had was that although
gnumake was reporting that it passed command "390-latex file",
390-latex was behaving as it did not receive any parameters 
(i confirmed it by adding an "echo" at the beginning of 390-latex).

I tracked the problem to the first line of 390-latex: it was empty
and only the second line contained "#!/bin/sh". When this was fixed,
everything worked fine.

The thing that still bothers me is that if i used ordinary make, the
wrong 390-latex worked correctly, but with gnumake it wasn't the case.
Also, if i used ordinary (local) latex which is ordinary binary (not a
script), BOTH makes worked correctly - i.e. parameters were passed. 

I do not know if there is a difference between makes in a way they
execute individual commands, but i would be interested in what caused 
different behaviour.

SYSTEM: sun 3/60 with OS 3.5, my interactive shell was bash,
	gnumake version 3.57, 
	if you need extra data, please let me know

Thanks for listening (reading) and i hope this was not inappropriate.

Drazen Borkovic
Caltech 256-80
Pasadena CA 91125
drazen@vlsi.caltech.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads