home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / programm / 3869 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  2.4 KB

  1. Xref: sparky comp.unix.programmer:3869 comp.unix.questions:9347 comp.lang.c:11525
  2. Newsgroups: comp.unix.programmer,comp.unix.questions,comp.lang.c
  3. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!mips!darwin.sura.net!mlb.semi.harris.com!controls.ccd.harris.com!usenet
  4. From: ajg@controls.ccd.harris.com (Arnold Goldberg)
  5. Subject: Re: #include file dependancies
  6. In-Reply-To: etxmesa@eos.ericsson.se's message of Thu, 23 Jul 1992 08:29:22 GMT
  7. Message-ID: <AJG.92Jul23132529@sp1.ccd.harris.com>
  8. Sender: usenet@ccd.harris.com
  9. Organization: Harris Controls and Compositions
  10. References: <AJG.92Jul22114544@sp1.ccd.harris.com>
  11.     <1992Jul23.013154.22987@ccu1.aukuni.ac.nz>
  12.     <1992Jul23.082922.5261@ericsson.se>
  13. Distribution: comp
  14. Date: Thu, 23 Jul 1992 18:25:29 GMT
  15. Lines: 36
  16.  
  17. >>>>> On Thu, 23 Jul 1992 08:29:22 GMT, etxmesa@eos.ericsson.se (Michael Salmon) said:
  18. Michael> |> ajg@controls.ccd.harris.com (Arnold Goldberg) writes:
  19. Michael> |> 
  20. Michael> |> >We here have a very large source tree.
  21. Michael> |> 
  22. Michael> |> >What I'm looking for is a script or utility that will somehow tell
  23. Michael> |> >me which #include files are not actually needed for a source file.
  24. ichael> |> 
  25. Michael> |> Gcc (or rather, gcc's preprocessor) has the -M flag which will generate
  26. Michael> |> makefile dependencies for the specified source files; check out the manpage
  27. Michael> |> for your C compiler to see wether it also supports it.
  28. Michael> If I interpret Arnold correctly he wants a program that checks which
  29. Michael> include files are used rather than those that are included, there is a
  30. Michael> subtle difference.
  31.  
  32. Right!  The difference while it may be subtle is quite substancial..
  33.  
  34. Well, I still don't have any working solutions.
  35.  
  36. C'mon people don't let me down here.  I know some of you have to be worried
  37. about this also
  38.  
  39. I'll post a summary if there is enough interest.
  40.  
  41. A slightly disappointed,
  42. arnold
  43.  
  44. --
  45. ------------------------------------------------------------------------
  46. Arnold Goldberg                            Email:  ajg@ccd.harris.com
  47. Phone: (407)242-5051                       Snail:  Harris Corporation
  48. Fax  : (407)242-4262                               407 John Rodes Blvd.
  49.                                                    Melbourne, FL 32905
  50.  
  51. The opinions expressed are my own and do not in any way represent Harris 
  52. ------------------------------------------------------------------------
  53.