home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / aux / 4467 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1.2 KB  |  35 lines

  1. Newsgroups: comp.unix.aux
  2. Path: sparky!uunet!gatech!enterpoop.mit.edu!world!rhs
  3. From: rhs@world.std.com (Richard H Schwartz)
  4. Subject: Re: Has anyone ported gnu make?
  5. Message-ID: <C04t1n.Jz3@world.std.com>
  6. Organization: The World Public Access UNIX, Brookline, MA
  7. References: <C0333E.1vD@world.std.com> <fred.725750588@ivhs.mot.com>
  8. Date: Thu, 31 Dec 1992 16:12:59 GMT
  9. Lines: 24
  10.  
  11. fred@ivhs.mot.com (Fred Brunner) writes:
  12.  
  13. >GNU make 3.62 seems to find long command lines offensive.
  14.  
  15.  
  16. From what I've seen on other platforms, the problem is not that the 
  17. command line is too long.  The problem is that the environment variable
  18. list given to execve() is too long.  
  19.  
  20. Add a special target to your makefile as follows:
  21.  
  22. .NOEXPORT:
  23.  
  24. This tells gnu make not to export all make variables into the environment.
  25. Gnu make's default behavior is to export all variables.  Beware of the
  26. incompatibility that this may create for makefiles that invoke make on
  27. other makefiles with the "-e" option!  
  28.  
  29. -rich
  30. -- 
  31.              Richard H. Schwartz, Scheduling Systems Inc.,
  32.             1000 Massachusetts Avenue, Cambridge, MA  02138
  33.                   (617) 864 8330; FAX (617) 864 8377
  34.                           rhs@world.std.com
  35.