Article View: comp.unix.programmer
Article #87Re: #include file dependancies
From: Thomas Koenig
Date: Thu, 23 Jul 1992 01:31
Date: Thu, 23 Jul 1992 01:31
14 lines
1052 bytes
1052 bytes
ajg@controls.ccd.harris.com (Arnold Goldberg) writes: >We here have a very large source tree. >What I'm looking for is a script or utility that will somehow tell >me which #include files are not actually needed for a source file. Gcc (or rather, gcc's preprocessor) has the -M flag which will generate makefile dependencies for the specified source files; check out the manpage for your C compiler to see wether it also supports it. -- Thomas Koenig, ecmtwhk@ccu1.aukuni.ac.nz, ib09@rz.uni-karlsruhe.de The joy of engineering is to find a straight line on a double logarithmic diagram.
Technical Details
Message-ID:
<1992Jul23.013154.22987@ccu1.aukuni.ac.nz>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!waikato.ac.nz!aukuni.ac.nz!ecmtwhkReferences:
<AJG.92Jul22114544@sp1.ccd.harris.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!waikato.ac.nz!aukuni.ac.nz!ecmtwhk Newsgroups: comp.unix.programmer,comp.unix.questions,comp.lang.c Subject: Re: #include file dependancies Message-ID: <1992Jul23.013154.22987@ccu1.aukuni.ac.nz> From: ecmtwhk@ccu1.aukuni.ac.nz (Thomas Koenig) Date: Thu, 23 Jul 1992 01:31:54 GMT References: <AJG.92Jul22114544@sp1.ccd.harris.com> Distribution: comp Organization: University of Auckland, New Zealand. Lines: 14