home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / gcc / bug / 2777 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.5 KB  |  40 lines

  1. Newsgroups: gnu.gcc.bug
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!quorum.COM!brown
  3. From: brown@quorum.COM (Robert E. Brown)
  4. Subject: bug in config/t-next
  5. Message-ID: <9211170043.AA07376@_grettir.quorum.com_>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Mon, 16 Nov 1992 14:43:46 GMT
  10. Approved: bug-gcc@prep.ai.mit.edu
  11. Lines: 27
  12.  
  13. I'm using GCC version 2.3.1 on a Next computer.
  14.  
  15. The file config/t-next sets OTHER_FIXINCLUDES_DIRS like this:
  16.  
  17.     OTHER_FIXINCLUDES_DIRS= /NextDeveloper/Headers \
  18.       /NextDeveloper/Headers/ansi /NextDeveloper/Headers/bsd \
  19.       /LocalDeveloper/Headers /LocalDeveloper/Headers/ansi \
  20.       /LocalDeveloper/Headers/bsd
  21.  
  22. This variable is used in the GCC Makefile like this:
  23.  
  24.     for dir in /usr/include $(OTHER_FIXINCLUDES_DIRS); do ...
  25.  
  26. Since /usr/include is a symbolic link to /NextDeveloper/Headers on Next
  27. computers running release 3.0 of NextStep, the "for" loop in the Makefile
  28. processes the same directories several times.  Since the makefile processes
  29. any directory listed and all of its subdirectories with fixincludes, there's
  30. no reason to set OTHER_FIXINCLUDES_DIRS to contain both directories and their
  31. children.  In addition, the standard 3.0 distribution from Next does not even
  32. contain /LocalDeveloper/Headers/ansi and /LocalDeveloper/Headers/bsd, so I
  33. have no idea why they're in the list of files above.
  34.  
  35. The config/t-next file should instead contain this line:
  36.  
  37.     OTHER_FIXINCLUDES_DIRS= /LocalDeveloper/Headers
  38.  
  39.  
  40.