home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / question / 14629 < prev    next >
Encoding:
Internet Message Format  |  1992-12-12  |  1.2 KB

  1. Xref: sparky comp.unix.questions:14629 comp.lang.c:18249
  2. Newsgroups: comp.unix.questions,comp.lang.c
  3. Path: sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!munta.cs.mu.OZ.AU!fjh
  4. From: fjh@munta.cs.mu.OZ.AU (Fergus James HENDERSON)
  5. Subject: Re: #include "from/somewhere/else"
  6. Message-ID: <9234723.5947@mulga.cs.mu.OZ.AU>
  7. Sender: news@cs.mu.OZ.AU
  8. Organization: Computer Science, University of Melbourne, Australia
  9. References: <aet.724150848@munagin>
  10. Date: Sat, 12 Dec 1992 12:42:36 GMT
  11. Lines: 20
  12.  
  13. aet@mullian.ee.mu.OZ.AU (bert thompson) writes:
  14.  
  15. >does anyone know how to redefine the default directory from
  16. >which C takes its #include "files"?
  17.  
  18. From our man page for cc:
  19.  
  20.      -Idir   `#include'    files whose names do not begin with `/'    are always
  21.          sought first in the directory of the file argument, then in
  22.          directories specified in -I options, and finally in the standard
  23.          directory (/usr/include).
  24.  
  25. Really Bert, I don't think it would have been to hard for you to find this
  26. out for yourself.
  27.  
  28. -- 
  29. Fergus Henderson             fjh@munta.cs.mu.OZ.AU      
  30. This .signature virus is a self-referential statement that is true - but 
  31. you will only be able to consistently believe it if you copy it to your own
  32. .signature file!
  33.