⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.sub

📁 这是一个压缩解压包,用C语言进行编程的,里面有详细的源代码.
💻 SUB
📖 第 1 页 / 共 3 页
字号:
	ymp)		basic_machine=ymp-cray		os=-unicos		;;	z8k-*-coff)		basic_machine=z8k-unknown		os=-sim		;;	none)		basic_machine=none-none		os=-none		;;# 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)		basic_machine=hppa1.1-winbond		;;	op50n)		basic_machine=hppa1.1-oki		;;	op60c)		basic_machine=hppa1.1-oki		;;	romp)		basic_machine=romp-ibm		;;	mmix)		basic_machine=mmix-knuth		;;	rs6000)		basic_machine=rs6000-ibm		;;	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		;;	sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)		basic_machine=sh-unknown		;;	sparc | sparcv8 | sparcv9 | sparcv9b)		basic_machine=sparc-sun		;;	cydra)		basic_machine=cydra-cydrome		;;	orion)		basic_machine=orion-highlevel		;;	orion105)		basic_machine=clipper-highlevel		;;	mac | mpw | mac-mpw)		basic_machine=m68k-apple		;;	pmac | pmac-mpw)		basic_machine=powerpc-apple		;;	*-unknown)		# Make sure to match an already-canonicalized machine name.		;;	*)		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2		exit 1		;;esac# Here we canonicalize certain aliases for manufacturers.case $basic_machine in	*-digital*)		basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'`		;;	*-commodore*)		basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'`		;;	*)		;;esac# Decode manufacturer-specific aliases for certain operating systems.if [ x"$os" != x"" ]thencase $os in        # First match some system type aliases        # that might get confused with valid system types.	# -solaris* is a basic system type, with this one exception.	-solaris1 | -solaris1.*)		os=`echo $os | sed -e 's|solaris1|sunos4|'`		;;	-solaris)		os=-solaris2		;;	-svr4*)		os=-sysv4		;;	-unixware*)		os=-sysv4.2uw		;;	-gnu/linux*)		os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`		;;	# First accept the basic system types.	# The portable systems comes first.	# Each alternative MUST END IN A *, to match a version number.	# -sysv* is not here because it comes later, after sysvr4.	-gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \	      | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\	      | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \	      | -aos* \	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \	      | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -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* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \	      | -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* | -nx6 | -nx7 | -sei* | -dragonfly* \	      | -skyos* | -haiku*)	# Remember, each alternative MUST END IN *, to match a version number.		;;	-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* | -haiku* \	      | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)		;;	-mac*)		os=`echo $os | sed -e 's|mac|macos|'`		;;	-linux-dietlibc)		os=-linux-dietlibc		;;	-linux*)		os=`echo $os | sed -e 's|linux|linux-gnu|'`		;;	-sunos5*)		os=`echo $os | sed -e 's|sunos5|solaris2|'`		;;	-sunos6*)		os=`echo $os | sed -e 's|sunos6|solaris3|'`		;;	-opened*)		os=-openedition		;;        -os400*)		os=-os400		;;	-wince*)		os=-wince		;;	-osfrose*)		os=-osfrose		;;	-osf*)		os=-osf		;;	-utek*)		os=-bsd		;;	-dynix*)		os=-bsd		;;	-acis*)		os=-aos		;;	-atheos*)		os=-atheos		;;	-syllable*)		os=-syllable		;;	-386bsd)		os=-bsd		;;	-ctix* | -uts*)		os=-sysv		;;	-nova*)		os=-rtmk-nova		;;	-ns2 )		os=-nextstep2		;;	-nsk*)		os=-nsk		;;	# Preserve the version number of sinix5.	-sinix5.*)		os=`echo $os | sed -e 's|sinix|sysv|'`		;;	-sinix*)		os=-sysv4		;;        -tpf*)		os=-tpf		;;	-triton*)		os=-sysv3		;;	-oss*)		os=-sysv3		;;	-svr4)		os=-sysv4		;;	-svr3)		os=-sysv3		;;	-sysvr4)		os=-sysv4		;;	# This must come after -sysvr4.	-sysv*)		;;	-ose*)		os=-ose		;;	-es1800*)		os=-ose		;;	-xenix)		os=-xenix		;;	-*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*)		os=-mint		;;	-aros*)		os=-aros		;;	-kaos*)		os=-kaos		;;	-zvmoe)		os=-zvmoe		;;	-none)		;;	*)		# Get rid of the `-' at the beginning of $os.		os=`echo $os | sed 's/[^-]*-//'`		echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2		exit 1		;;esacelse# Here we handle the default operating systems that come with various machines.# The value should be what the vendor currently ships out the door with their# machine or put another way, the most popular os provided with the machine.# Note that if you're going to try to match "-MANUFACTURER" here (say,# "-sun"), then you have to tell the case statement up towards the top# that MANUFACTURER isn't an operating system.  Otherwise, code above# will signal an error saying that MANUFACTURER isn't an operating# system, and we'll never get to this point.case $basic_machine in	*-acorn)		os=-riscix1.2		;;	arm*-rebel)		os=-linux		;;	arm*-semi)		os=-aout		;;    c4x-* | tic4x-*)        os=-coff        ;;	# This must come before the *-dec entry.	pdp10-*)		os=-tops20		;;	pdp11-*)		os=-none		;;	*-dec | vax-*)		os=-ultrix4.2		;;	m68*-apollo)		os=-domain		;;	i386-sun)		os=-sunos4.0.2		;;	m68000-sun)		os=-sunos3		# This also exists in the configure program, but was not the		# default.		# os=-sunos4		;;	m68*-cisco)		os=-aout		;;	mips*-cisco)		os=-elf		;;	mips*-*)		os=-elf		;;	or32-*)		os=-coff		;;	*-tti)	# must be before sparc entry or we get the wrong os.		os=-sysv3		;;	sparc-* | *-sun)		os=-sunos4.1.1		;;	*-be)		os=-beos		;;	*-haiku)		os=-haiku		;;	*-ibm)		os=-aix		;;    	*-knuth)		os=-mmixware		;;	*-wec)		os=-proelf		;;	*-winbond)		os=-proelf		;;	*-oki)		os=-proelf		;;	*-hp)		os=-hpux		;;	*-hitachi)		os=-hiux		;;	i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent)		os=-sysv		;;	*-cbm)		os=-amigaos		;;	*-dg)		os=-dgux		;;	*-dolphin)		os=-sysv3		;;	m68k-ccur)		os=-rtu		;;	m88k-omron*)		os=-luna		;;	*-next )		os=-nextstep		;;	*-sequent)		os=-ptx		;;	*-crds)		os=-unos		;;	*-ns)		os=-genix		;;	i370-*)		os=-mvs		;;	*-next)		os=-nextstep3		;;	*-gould)		os=-sysv		;;	*-highlevel)		os=-bsd		;;	*-encore)		os=-bsd		;;	*-sgi)		os=-irix		;;	*-siemens)		os=-sysv4		;;	*-masscomp)		os=-rtu		;;	f30[01]-fujitsu | f700-fujitsu)		os=-uxpv		;;	*-rom68k)		os=-coff		;;	*-*bug)		os=-coff		;;	*-apple)		os=-macos		;;	*-atari*)		os=-mint		;;	*)		os=-none		;;esacfi# Here we handle the case where we know the os, and the CPU type, but not the# manufacturer.  We pick the logical manufacturer.vendor=unknowncase $basic_machine in	*-unknown)		case $os in			-riscix*)				vendor=acorn				;;			-sunos*)				vendor=sun				;;			-aix*)				vendor=ibm				;;			-beos*)				vendor=be				;;			-hpux*)				vendor=hp				;;			-mpeix*)				vendor=hp				;;			-hiux*)				vendor=hitachi				;;			-unos*)				vendor=crds				;;			-dgux*)				vendor=dg				;;			-luna*)				vendor=omron				;;			-genix*)				vendor=ns				;;			-mvs* | -opened*)				vendor=ibm				;;			-os400*)				vendor=ibm				;;			-ptx*)				vendor=sequent				;;			-tpf*)				vendor=ibm				;;			-vxsim* | -vxworks* | -windiss*)				vendor=wrs				;;			-aux*)				vendor=apple				;;			-hms*)				vendor=hitachi				;;			-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/"`		;;esacecho $basic_machine$osexit# 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 + -