8sa1-gcc/gcc/fixinc
Jeffrey A Law 940e53cefe mkfixinc.sh: Recognize cygwin* instead of only cygwin32.
* fixinc/mkfixinc.sh: Recognize cygwin* instead of only
        cygwin32.

From-SVN: r25957
1999-03-24 15:26:54 -07:00
..
fixinc.dgux Missing merges from fixincl-branch 1999-03-12 07:44:19 +00: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 fixincl.c: Include auto-host.h instead of config.h 1999-03-17 15:03:34 -07:00
fixincl.sh Merge from fixincl-branch 1999-03-03 08:07:47 +00:00
fixincl.tpl
fixincl.x Merge from fixincl-branch 1999-03-03 08:07:47 +00:00
hackshell.tpl
inclhack.def
inclhack.sh Merge from fixincl-branch 1999-03-03 08:07:47 +00:00
inclhack.tpl
Makefile.in Makefile.in (procopen.o): List the actual dependencies. 1999-03-15 01:34:02 +00:00
mkfixinc.sh mkfixinc.sh: Recognize cygwin* instead of only cygwin32. 1999-03-24 15:26:54 -07:00
procopen.c fixincl.c: Include auto-host.h instead of config.h 1999-03-17 15:03:34 -07:00
README
regex.c fixincl.c: Include auto-host.h instead of config.h 1999-03-17 15:03:34 -07:00
regex.h
server.c fixincl.c: Include auto-host.h instead of config.h 1999-03-17 15:03:34 -07:00
server.h

The fast-fixincludes system now, to the best of our collective belief,
correctly implements exactly the same functionality as the previous
fixincludes/fixinc.* shell scripts.  On most 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.

KNOWN 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.

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

        egcs/config.guess

TO DO

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

* FIXME: XXX needs to have tests for file descriptors > 10 or 12 added
  to detect/solve XXX.

* 



THEORY OF OPS

inclhack.def contains a list of potential fixes to be applied to the
system headers.   This file is processed by autogen to make both a
shell script and a binary to apply those fixes to your headers.
If the binary cannot be 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.