📄 just-fixinc
字号:
#!/bin/sh# $Id: just-fixinc,v 1.5 1994/08/16 20:42:48 friedman 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.0cd $installed/includermdir tmpfoo > /dev/null 2>&1mkdir tmpfoomv 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.hif test -f limits.h ; then mv limits.h syslimits.helse cp $installed/gsyslimits.h syslimits.hfichmod a+r syslimits.hmv tmpfoo/* .rmdir tmpfoo# eof
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -