Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Jyrki Kuoppala
Wed, 23 Aug 1989 05:37
GNU make
Author: Jyrki Kuoppala
Date: Wed, 23 Aug 1989 05:37
Date: Wed, 23 Aug 1989 05:37
27 lines
1332 bytes
1332 bytes
In article <890821-112651-1301@Xerox>, Leisner.Henr@XEROX (Marty) writes: >SunOS makes only puts the variables defined in the makefile, the command >line or inherited in the environment in the child's environment. GNUmake >puts everything into the environment, even variables never referenced (i.e. >like: >F77=$(FC) >F77FLAGS=$(FFLAGS) >FC=f77 Oh yes, this reminds me of the misfeature I ran into a few days ago. Some program (I don't remember which) had in it's rules lines like: SHELL = /bin/sh 1 = 1 (for the manual page extension). Then there was a shell script ran in the makefile. The shell bombs with `1=1: is not an identifier' on at least SVR2 and BSD 4.3 because it doesn't like environment variables with numbers. (By the way, Sun seems to have changed (fixed?) this, their /bin/sh as of Sunos 4.0.1 doesn't complain about the environment variable 1. So perhaps the make behaviour isn't desirable, at least it can cause harm in some rare causes. //Jyrki
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