]> gcc.gnu.org Git - gcc.git/blame - gcc/just-fixinc
(expand_call): In target code, move PARALLEL case above
[gcc.git] / gcc / just-fixinc
CommitLineData
f0c19c48 1#!/bin/sh
941a8cec 2# $Id$
f929db3a 3# This script exists for use after installing
941a8cec 4# the GCC binaries from a distribution tape/CD-ROM.
f929db3a
RS
5# Use it *after* copying the directory of binaries
6# to the proper installed location.
941a8cec
NF
7# It runs fixincludes (or fixinc.svr4, if appropriate) to correct bugs in
8# the system header files.
9# This script needs to be customized for each type of installation so that
10# others may run it after the installation-sans-fixincludes is completed.
f929db3a
RS
11
12# The corrected header files go in the GCC installation directory
13# so that only GCC sees them.
14# This script does not modify the original header files in /usr/include.
15# It only modifies copies in the GCC installation directory.
16
941a8cec 17installed=/opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.6.0
f929db3a 18cd $installed/include
4f4778af 19
f929db3a 20rmdir tmpfoo > /dev/null 2>&1
f0c19c48
RS
21mkdir tmpfoo
22mv va-sparc.h varargs.h stdarg.h stddef.h limits.h float.h proto.h tmpfoo
4f4778af 23
f929db3a 24$installed/fixinc.svr4 $installed/include /usr/include $installed
4f4778af
NF
25
26# Make sure fixed native limits.h gets renamed to syslimits.h before gcc's
27# limits.h from tmpfoo is moved back.
7d454f03 28rm -f syslimits.h
4f4778af 29if test -f limits.h ; then
4f4778af 30 mv limits.h syslimits.h
7d454f03
NF
31else
32 cp $installed/gsyslimits.h syslimits.h
4f4778af
NF
33fi
34chmod a+r syslimits.h
35
f0c19c48
RS
36mv tmpfoo/* .
37rmdir tmpfoo
4f4778af
NF
38
39# eof
This page took 0.270588 seconds and 5 git commands to generate.