🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by brooks Thu, 22 Sep 1988 04:12
Bug in GNU Make 3.05
#1682
Author: brooks
Date: Thu, 22 Sep 1988 04:12
14 lines
1110 bytes
GNU Make, version 3.05, does not properly expand environment strings
for a action line of the form
	cp foobar $$HOME/bin
the source of the problem is a failure to recognize and expand shell
environment variables in the code which short stops forks of /bin/sh.
The quickest cure is to add $ to the list of characters which cause
Make to go into slow mode and pass the command line to /bin/sh.
On line 342 of commands.c you will see a definition
	static char sh_chars[] = "#;\"*?[]&|<>(){}=";
just add $ to this list.

An added hint for GNU Make on the Alliant, change the identifier
"vector" in glob.c and read.c to "VeCtOr" and compile it with the
-pcc flag and you will get a parallel Make which works most of the time.
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