8sa1-gcc/gcc/fixinc
1999-05-07 11:22:05 +00:00
..
fixinc.dgux Missing merges from fixincl-branch 1999-03-12 07:44:19 +00:00
fixinc.interix Forgot to check in. 1999-04-11 05:35:44 -06:00
fixinc.irix Missing merges from fixincl-branch 1999-03-12 07:44:19 +00:00
fixinc.ptx Missing merges from fixincl-branch 1999-03-12 07:44:19 +00:00
fixinc.sco Missing merges from fixincl-branch 1999-03-12 07:44:19 +00:00
fixinc.svr4 Missing merges from fixincl-branch 1999-03-12 07:44:19 +00:00
fixinc.winnt Missing merges from fixincl-branch 1999-03-12 07:44:19 +00:00
fixinc.wrap Missing merges from fixincl-branch 1999-03-12 07:44:19 +00:00
fixinc.x86-linux-gnu Missing merges from fixincl-branch 1999-03-12 07:44:19 +00:00
fixincl.c fix memory leak in run_compiles 1999-05-07 11:09:31 +00:00
fixincl.sh inclhack.def (avoid_bool): Enable match if typedefs are prepended by spaces. 1999-04-26 16:57:01 -06:00
fixincl.tpl 1. the file name lists ought to be restricted to "*.h" anyway 2. C++ files may be named .../[a-z]++/... 1999-04-12 07:11:20 +00:00
fixincl.x inclhack.def (avoid_bool): Enable match if typedefs are prepended by spaces. 1999-04-26 16:57:01 -06:00
genfixes Ensure that the server shell is _NOT_ csh 1999-04-05 06:58:30 +00:00
gnu-regex.c regex.c, regex.h: Removed. 1999-04-29 14:08:18 +00:00
gnu-regex.h regex.c, regex.h: Removed. 1999-04-29 14:08:18 +00:00
hackshell.tpl DESTDIR is already trimmed to the correct directory 1999-05-07 11:22:05 +00:00
inclhack.def inclhack.def (avoid_bool): Enable match if typedefs are prepended by spaces. 1999-04-26 16:57:01 -06:00
inclhack.sh inclhack.def (avoid_bool): Enable match if typedefs are prepended by spaces. 1999-04-26 16:57:01 -06:00
inclhack.tpl Remove unnecessary character quote 1999-04-26 10:48:59 +00:00
Makefile.in regex.c, regex.h: Removed. 1999-04-29 14:08:18 +00:00
mkfixinc.sh Makesure the result shell script is writable 1999-04-28 14:42:03 +00:00
procopen.c fixincl.c: Include auto-host.h instead of config.h 1999-03-17 15:03:34 -07:00
README Made more current 1999-03-29 08:22:24 +00:00
server.c don't \\-escape the cd command + format fix 1999-05-07 08:42:27 +00:00
server.h properly handle child processes 1999-04-26 10:38:38 +00:00

The fast-fixincludes system now, to the best of our collective belief,
correctly implements exactly the same functionality as the previous
fixincludes and fixinc.* shell scripts.  On systems where many fixes
are required, this is accomplished by putting most of the
functionality into a binary executable.  On systems that had dedicated
fixinc.* shell scripts, those scripts are still used by default until
they can be converted.

POSSIBLE PROBLEMS

There may be some systems on which the fixinc binary program appears
to be functional, but fails to work.  Current thinking is that this
is due to some new process limitations (fork() calls) on those
systems.  If you are experiencing this problem, then copy the script
${src}/gcc/fixinc/inclhack.sh into ${builddir}/gcc/fixinc.sh and run
make again.

And, *please* also report the problem with a description of
the failure mode (symptoms) and the output from:

        egcs/config.guess

to me:  Bruce Korb <fixincludes@autogen.freeservers.com>

TO DO

* fixincl needs to be converted to use gcc's system.h, libiberty, and
  other portability frameworks.


THEORY OF OPERATION

See also:  http://autogen.freeservers.com

The set of fixes required was distilled down to just the data required
to specify what needed to happen for each fix.  Those data were edited
into a new file named gcc/fixinc/inclhack.def.  A program called
AutoGen (http://autogen.freeservers.com) uses these definitions to
instantiate several different templates (gcc/fixinc/*.tpl) that then
produces a fixincludes replacement shell script (inclhack.sh), a
replacement binary program (fixincl.x) and a script to drive the
binary fixincl.sh).

If there is no special purpose script, then mkfixinc.sh will try to
compile, link and test execute the binary version.  If it cannot be
successfully built, the shell version will be used instead.  If
mkfixinc.sh determines that your system needs machine-specific fixes
that have not yet been applied to inclhack.def, it will install and
use the current fixinc.* for that system instead.

Usually, the mkfixinc.sh script will be able to detect when
the binary is not runable.  If you do have problems, however,
please see "POSSIBLE PROBLEMS" above.  Thank you.

Regards,
	Bruce <fixincludes@autogen.freeservers.com>
	Robert <RobertLipe@usa.net>
	Manfred <manfred@s-direktnet.de>