home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / apps / 3105 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  924 b 

  1. Path: sparky!uunet!ferkel.ucsb.edu!taco!gatech!darwin.sura.net!paladin.american.edu!howland.reston.ans.net!usc!cs.utexas.edu!ut-emx!utig.ig.utexas.edu!tbodine
  2. From: tbodine@utig.ig.utexas.edu (Tom Bodine)
  3. Newsgroups: comp.sys.sun.apps
  4. Subject: Re: Can f77 be taught not to use /tmp?
  5. Message-ID: <86636@ut-emx.uucp>
  6. Date: 26 Jan 93 18:33:39 GMT
  7. References: <1993Jan20.185627.19507@mapsut.einstein.com>
  8. Sender: news@ut-emx.uucp
  9. Lines: 24
  10.  
  11. In refrenced article Mr. Einstein states:
  12.  
  13. > ...it seems that there should be a way of designating the compiler's 
  14. >  temporary directory also.
  15.  
  16. Here is how I do it:
  17.  
  18. In my .cshrc :
  19.  
  20. setenv TEMP '-temp=/usr3/tbodine
  21.  
  22. In my f77 makefile:
  23.  
  24. FFLAGS = -g -U -u $(TEMP)
  25.  
  26. $(EXEC) : $(OBJECTS)  
  27.         $(FC) $(FFLAGS) -o $(EXEC) $(OBJECTS)  $(LDFLAGS) $(LDLIBS)
  28.  
  29. This way f77 will write its temporary files on /usr3/tbodine instead of /tmp
  30.  
  31.  
  32.         regards Tom Bodine
  33.  
  34. note: These are MY opinions!
  35.