summaryrefslogtreecommitdiff
path: root/gcc_arm/just-fixinc
diff options
context:
space:
mode:
authorcamthesaxman <camthesaxman@users.noreply.github.com>2020-01-29 18:17:43 -0600
committercamthesaxman <camthesaxman@users.noreply.github.com>2020-01-29 18:17:43 -0600
commitcdc6e2c50f96119bdc4c1205ff5901ca82ec8357 (patch)
tree3e9217eabcf444e166008411f445315606dded59 /gcc_arm/just-fixinc
parent27176890c4a688ea7de44d3f55af32827016a9fd (diff)
add old compiler with ARM support
Diffstat (limited to 'gcc_arm/just-fixinc')
-rwxr-xr-xgcc_arm/just-fixinc39
1 files changed, 39 insertions, 0 deletions
diff --git a/gcc_arm/just-fixinc b/gcc_arm/just-fixinc
new file mode 100755
index 0000000..3faa909
--- /dev/null
+++ b/gcc_arm/just-fixinc
@@ -0,0 +1,39 @@
+#!/bin/sh
+# $Id: just-fixinc,v 1.42 1998/11/11 05:49:02 law Exp $
+# This script exists for use after installing
+# the GCC binaries from a distribution tape/CD-ROM.
+# Use it *after* copying the directory of binaries
+# to the proper installed location.
+# It runs fixincludes (or fixinc.svr4, if appropriate) to correct bugs in
+# the system header files.
+# This script needs to be customized for each type of installation so that
+# others may run it after the installation-sans-fixincludes is completed.
+
+# The corrected header files go in the GCC installation directory
+# so that only GCC sees them.
+# This script does not modify the original header files in /usr/include.
+# It only modifies copies in the GCC installation directory.
+
+installed=/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.6.0
+cd $installed/include
+
+rmdir tmpfoo > /dev/null 2>&1
+mkdir tmpfoo
+mv va-sparc.h varargs.h stdarg.h stddef.h limits.h float.h proto.h tmpfoo
+
+$installed/fixinc.svr4 $installed/include /usr/include $installed
+
+# Make sure fixed native limits.h gets renamed to syslimits.h before gcc's
+# limits.h from tmpfoo is moved back.
+rm -f syslimits.h
+if test -f limits.h ; then
+ mv limits.h syslimits.h
+else
+ cp $installed/gsyslimits.h syslimits.h
+fi
+chmod a+r syslimits.h
+
+mv tmpfoo/* .
+rmdir tmpfoo
+
+# eof