📄 config.sub.patch
字号:
- msdos) # EGCS LOCAL- basic_machine=i386-unknown + morphos)+ basic_machine=powerpc-unknown+ os=-morphos+ ;;+ msdos)+ basic_machine=i386-pc os=-msdos ;;+ mvs)+ basic_machine=i370-ibm+ os=-mvs+ ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386)- basic_machine=i386-unknown # EGCS LOCAL+ basic_machine=i386-unknown os=-netbsd ;; netwinder)- basic_machine=armv4l-corel+ basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900)@@ -580,7 +680,7 @@ basic_machine=mips-sony os=-newsos ;;- necv70) # EGCS LOCAL+ necv70) basic_machine=v70-nec os=-sysv ;;@@ -609,18 +709,37 @@ basic_machine=i960-intel os=-nindy ;;- mon960) # EGCS LOCAL+ mon960) basic_machine=i960-intel os=-mon960 ;;+ nonstopux)+ basic_machine=mips-compaq+ os=-nonstopux+ ;; np1) basic_machine=np1-gould ;;- OSE68000 | ose68000) # EGCS LOCAL+ nv1)+ basic_machine=nv1-cray+ os=-unicosmp+ ;;+ nsr-tandem)+ basic_machine=nsr-tandem+ ;;+ op50n-* | op60c-*)+ basic_machine=hppa1.1-oki+ os=-proelf+ ;;+ or32 | or32-*)+ basic_machine=or32-unknown+ os=-coff+ ;;+ OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;;- os68k) # EGCS LOCAL+ os68k) basic_machine=m68k-none os=-os68k ;;@@ -638,46 +757,60 @@ pbb) basic_machine=m68k-tti ;;- pc532 | pc532-*)+ pc532 | pc532-*) basic_machine=ns32k-pc532 ;;- pentium | p5 | k5 | k6 | nexen)+ pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;;- pentiumpro | p6 | 6x86)+ pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2)- basic_machine=i786-pc+ basic_machine=i686-pc ;;- pentium-* | p5-* | k5-* | k6-* | nexen-*)+ pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;;- pentiumpro-* | p6-* | 6x86-*)+ pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-*)- basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`+ basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;;- power) basic_machine=rs6000-ibm+ power) basic_machine=power-ibm ;; ppc) basic_machine=powerpc-unknown- ;;+ ;; ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown- ;;+ ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;;+ ppc64) basic_machine=powerpc64-unknown+ ;;+ ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`+ ;;+ ppc64le | powerpc64little | ppc64-le | powerpc64-little)+ basic_machine=powerpc64le-unknown+ ;;+ ppc64le-* | powerpc64little-*)+ basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'`+ ;; ps2) basic_machine=i386-ibm ;;- rom68k) # EGCS LOCAL+ pw32)+ basic_machine=i586-unknown+ os=-pw32+ ;;+ rom68k) basic_machine=m68k-rom68k os=-coff ;;@@ -687,10 +820,22 @@ rtpc | rtpc-*) basic_machine=romp-ibm ;;- sa29200) # EGCS LOCAL+ s390 | s390-*)+ basic_machine=s390-ibm+ ;;+ s390x | s390x-*)+ basic_machine=s390x-ibm+ ;;+ sa29200) basic_machine=a29k-amd os=-udi ;;+ sb1)+ basic_machine=mipsisa64sb1-unknown+ ;;+ sb1el)+ basic_machine=mipsisa64sb1el-unknown+ ;; sequent) basic_machine=i386-sequent ;;@@ -698,7 +843,7 @@ basic_machine=sh-hitachi os=-hms ;;- sparclite-wrs) # EGCS LOCAL+ sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;;@@ -709,10 +854,10 @@ spur) basic_machine=spur-unknown ;;- st2000) # EGCS LOCAL+ st2000) basic_machine=m68k-tandem ;;- stratus) # EGCS LOCAL+ stratus) basic_machine=i860-stratus os=-sysv4 ;;@@ -756,16 +901,40 @@ sun386 | sun386i | roadrunner) basic_machine=i386-sun ;;+ sv1)+ basic_machine=sv1-cray+ os=-unicos+ ;; symmetry) basic_machine=i386-sequent os=-dynix ;;+ t3e)+ basic_machine=alphaev5-cray+ os=-unicos+ ;;+ t90)+ basic_machine=t90-cray+ os=-unicos+ ;;+ tic4x | c4x*)+ basic_machine=tic4x-unknown+ os=-coff+ ;;+ tic54x | c54x*)+ basic_machine=tic54x-unknown+ os=-coff+ ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;;+ toad1)+ basic_machine=pdp10-xkl+ os=-tops20+ ;; tower | tower-32) basic_machine=m68k-ncr ;;@@ -777,7 +946,7 @@ basic_machine=a29k-nyu os=-sym1 ;;- v810 | necv810) # EGCS LOCAL+ v810 | necv810) basic_machine=v810-nec os=-none ;;@@ -790,8 +959,8 @@ os=-vms ;; vpp*|vx|vx-*)- basic_machine=f301-fujitsu- ;;+ basic_machine=f301-fujitsu+ ;; vxworks960) basic_machine=i960-wrs os=-vxworks@@ -804,18 +973,22 @@ basic_machine=a29k-wrs os=-vxworks ;;- w65*) # EGCS LOCAL- basic_machine=w65-wdc- os=-none+ w65*)+ basic_machine=w65-wdc+ os=-none ;;- xmp)- basic_machine=xmp-cray- os=-unicos+ w89k-*)+ basic_machine=hppa1.1-winbond+ os=-proelf ;;- xps | xps100)+ xps | xps100) basic_machine=xps100-honeywell ;;- z8k-*-coff) # EGCS LOCAL+ ymp)+ basic_machine=ymp-cray+ os=-unicos+ ;;+ z8k-*-coff) basic_machine=z8k-unknown os=-sim ;;@@ -826,22 +999,15 @@ # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular.- w89k) # EGCS LOCAL+ w89k) basic_machine=hppa1.1-winbond ;;- op50n) # EGCS LOCAL+ op50n) basic_machine=hppa1.1-oki ;;- op60c) # EGCS LOCAL+ op60c) basic_machine=hppa1.1-oki ;;- mips)- if [ x$os = x-linux-gnu ]; then- basic_machine=mips-unknown- else- basic_machine=mips-mips- fi- ;; romp) basic_machine=romp-ibm ;;@@ -851,16 +1017,26 @@ vax) basic_machine=vax-dec ;;+ pdp10)+ # there are many clones, so DEC is not a safe bet+ basic_machine=pdp10-unknown+ ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;;- sparc | sparcv9)+ sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)+ basic_machine=sh-unknown+ ;;+ sh64)+ basic_machine=sh64-unknown+ ;;+ sparc | sparcv9 | sparcv9b) basic_machine=sparc-sun ;;- cydra)+ cydra) basic_machine=cydra-cydrome ;; orion)@@ -869,16 +1045,15 @@ orion105) basic_machine=clipper-highlevel ;;- mac | mpw | mac-mpw) # EGCS LOCAL+ mac | mpw | mac-mpw) basic_machine=m68k-apple ;;- pmac | pmac-mpw) # EGCS LOCAL+ pmac | pmac-mpw) basic_machine=powerpc-apple ;;- c4x*)- basic_machine=c4x-none- os=-coff- ;;+ *-unknown)+ # Make sure to match an already-canonicalized machine name.+ ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1@@ -935,20 +1110,38 @@ | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \+ | -chorusos* | -chorusrdb* \ | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \- | -interix* | -uwin* )+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \+ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \+ | -powermax* | -dnix* | -microbsd*) # Remember, each alternative MUST END IN *, to match a version number. ;;- # EGCS LOCAL+ -qnx*)+ case $basic_machine in+ x86-* | i*86-*)+ ;;+ *)+ os=-nto$os+ ;;+ esac+ ;;+ -nto-qnx*)+ ;;+ -nto*)+ os=`echo $os | sed -e 's|nto|nto-qnx|'`+ ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \- | -windows* | -osx | -abug | -netware* | -os9* | -beos* \- | -macos* | -mpw* | -magic* | -mon960* | -lnews* )+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* \+ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;;- # END EGCS LOCAL -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;;@@ -958,6 +1151,12 @@ -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;;+ -opened*)+ os=-openedition+ ;;+ -wince*)+ os=-wince+ ;; -osfrose*) os=-osfrose ;;@@ -973,14 +1172,23 @@ -acis*) os=-aos ;;- -386bsd) # EGCS LOCAL+ -atheos*)+ os=-atheos+ ;;+ -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;;+ -nova*)+ os=-rtmk-nova+ ;; -ns2 )- os=-nextstep2+ os=-nextstep2+ ;;+ -nsk*)+ os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*)@@ -1007,15 +1215,21 @@ # This must come after -sysvr4. -sysv*) ;;- -ose*) # EGCS LOCAL+ -ose*) os=-ose ;;- -es1800*) # EGCS LOCAL+ -es1800*) os=-ose ;; -xenix) os=-xenix ;;+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)+ os=-mint+ ;;+ -aros*)+ os=-aros+ ;; -none) ;; *)@@ -1041,13 +1255,17 @@ *-acorn) os=-riscix1.2 ;;- arm*-corel)+ arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;;- pdp11-*)+ # This must come before the *-dec entry.+ pdp10-*)+ os=-tops20+ ;;+ pdp11-*) os=-none ;; *-dec | vax-*)@@ -1065,15 +1283,18 @@ # default. # os=-sunos4 ;;- m68*-cisco) # EGCS LOCAL+ m68*-cisco) os=-aout ;;- mips*-cisco) # EGCS LOCAL+ mips*-cisco) os=-elf ;;- mips*-*) # EGCS LOCAL- os=-elf- ;;+ mips*-*)+ os=-elf+ ;;+ or32-*)+ os=-coff+ ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;;@@ -1086,13 +1307,13 @@ *-ibm) os=-aix ;;- *-wec) # EGCS LOCAL+ *-wec) os=-proelf ;;- *-winbond) # EGCS LOCAL+ *-winbond) os=-proelf ;;- *-oki) # EGCS LOCAL+ *-oki) os=-proelf ;; *-hp)@@ -1137,36 +1358,39 @@ *-next) os=-nextstep3 ;;- *-gould)+ *-gould) os=-sysv ;;- *-highlevel)+ *-highlevel) os=-bsd ;; *-encore) os=-bsd ;;- *-sgi)+ *-sgi) os=-irix ;;- *-siemens)+ *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;;- f301-fujitsu)+ f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;;- *-rom68k) # EGCS LOCAL+ *-rom68k) os=-coff ;;- *-*bug) # EGCS LOCAL+ *-*bug) os=-coff ;;- *-apple) # EGCS LOCAL+ *-apple) os=-macos ;;+ *-atari*)+ os=-mint+ ;; *) os=-none ;;@@ -1212,27 +1436,41 @@ -genix*) vendor=ns ;;- -mvs*)+ -mvs* | -opened*) vendor=ibm ;; -ptx*) vendor=sequent ;;- -vxsim* | -vxworks*)+ -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;;- -hms*) # EGCS LOCAL+ -hms*) vendor=hitachi ;;- -mpw* | -macos*) # EGCS LOCAL+ -mpw* | -macos*) vendor=apple ;;+ -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)+ vendor=atari+ ;;+ -vos*)+ vendor=stratus+ ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os+exit 0++# Local variables:+# eval: (add-hook 'write-file-hooks 'time-stamp)+# time-stamp-start: "timestamp='"+# time-stamp-format: "%:y-%02m-%02d"+# time-stamp-end: "'"+# End:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -