home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.programmer:3869 comp.unix.questions:9347 comp.lang.c:11525
- Newsgroups: comp.unix.programmer,comp.unix.questions,comp.lang.c
- 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
- From: ajg@controls.ccd.harris.com (Arnold Goldberg)
- Subject: Re: #include file dependancies
- In-Reply-To: etxmesa@eos.ericsson.se's message of Thu, 23 Jul 1992 08:29:22 GMT
- Message-ID: <AJG.92Jul23132529@sp1.ccd.harris.com>
- Sender: usenet@ccd.harris.com
- Organization: Harris Controls and Compositions
- References: <AJG.92Jul22114544@sp1.ccd.harris.com>
- <1992Jul23.013154.22987@ccu1.aukuni.ac.nz>
- <1992Jul23.082922.5261@ericsson.se>
- Distribution: comp
- Date: Thu, 23 Jul 1992 18:25:29 GMT
- Lines: 36
-
- >>>>> On Thu, 23 Jul 1992 08:29:22 GMT, etxmesa@eos.ericsson.se (Michael Salmon) said:
- Michael> |> ajg@controls.ccd.harris.com (Arnold Goldberg) writes:
- Michael> |>
- Michael> |> >We here have a very large source tree.
- Michael> |>
- Michael> |> >What I'm looking for is a script or utility that will somehow tell
- Michael> |> >me which #include files are not actually needed for a source file.
- ichael> |>
- Michael> |> Gcc (or rather, gcc's preprocessor) has the -M flag which will generate
- Michael> |> makefile dependencies for the specified source files; check out the manpage
- Michael> |> for your C compiler to see wether it also supports it.
- Michael> If I interpret Arnold correctly he wants a program that checks which
- Michael> include files are used rather than those that are included, there is a
- Michael> subtle difference.
-
- Right! The difference while it may be subtle is quite substancial..
-
- Well, I still don't have any working solutions.
-
- C'mon people don't let me down here. I know some of you have to be worried
- about this also
-
- I'll post a summary if there is enough interest.
-
- A slightly disappointed,
- arnold
-
- --
- ------------------------------------------------------------------------
- Arnold Goldberg Email: ajg@ccd.harris.com
- Phone: (407)242-5051 Snail: Harris Corporation
- Fax : (407)242-4262 407 John Rodes Blvd.
- Melbourne, FL 32905
-
- The opinions expressed are my own and do not in any way represent Harris
- ------------------------------------------------------------------------
-