include hackery
Ian Lance Taylor
ian@cygnus.com
Tue Sep 2 10:52:00 GMT 1997
Date: Sat, 30 Aug 1997 12:18:07 -0700
From: Bruce Korb <korbb@datadesign.nospam.com>
Attached is the "inclhack.sh" generated script for your possible
assistence.
The only problem I saw in a quick glance is that using functions in sh
scripts is unfortunately nonportable.
In general, this seems like a very promising approach. It would be
nice if people on different systems could compare this to the
traditional fixincludes script.
You can run
fixincludes foo /usr/include
to fix the header files in /usr/include into the directory foo. If
you do that with the traditional fixincludes and with Bruce's new
inclhack script, we can see whether inclhack does the same thing. Any
differences would presumably require investigation.
Ian
More information about the Gcc
mailing list