This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Patch: change FIXINCL in fixincl.sh


Brendan Conoboy wrote:
> This patch adds a backwards compatible adjustment to the definiton of
> FIXINCL.  It uses ${ORIGDIR}/fixinc/fixincl if it exists, otherwise
> it uses ${ORIGDIR}/fixincl.  The former path is needed for rebuilding
> from source, but not when rebuilding headers in a binary package.  By
> changing the value to the latter path, installation programs can change
> directories to where fixincl is kept, then run fixincludes.  This
> allows pre-built packages to be distributed without including
> proprietary headers.

One of my copious spare-time projects is to make the binary
self sufficient (not requiring the fixincl.sh script) and
installable so that clients can upgrade their OS and just
run the include fixer.  Not there yet.  Meanwhile, why would
you bother moving the directory where the fixincl binary exists?
If you leave it where it is, you wind up with just the binary
sitting in the fixinc directory, but so what?  I can't see
how it is a problem.

Regards,
	Bruce


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]