Article View: comp.unix.programmer
Article #94Re: #include file dependancies
From: Arnold Goldberg
Date: Thu, 23 Jul 1992 18:25
Date: Thu, 23 Jul 1992 18:25
36 lines
2381 bytes
2381 bytes
>>>>> 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
------------------------------------------------------------------------
Technical Details
Message-ID:
<AJG.92Jul23132529@sp1.ccd.harris.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!mips!darwin.sura.net!mlb.semi.harris.com!controls.ccd.harris.com!usenetReferences:
<AJG.92Jul22114544@sp1.ccd.harris.com> <1992Jul23.013154.22987@ccu1.aukuni.ac.nz> <1992Jul23.082922.5261@ericsson.se>Show Full Headers
Complete Article Headers
Newsgroups: comp.unix.programmer,comp.unix.questions,comp.lang.c Path: arc1-ca.pugleaf.net!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