build-scripts/config.sub
changeset 8833 ae720d61d14d
parent 6442 2d3caa191dc4
child 8984 bbc802ae0ada
equal deleted inserted replaced
8832:408b0d563b27 8833:ae720d61d14d
   357 	# because (1) that's what they normally are, and
   357 	# because (1) that's what they normally are, and
   358 	# (2) the word "unknown" tends to confuse beginning users.
   358 	# (2) the word "unknown" tends to confuse beginning users.
   359 	i*86 | x86_64)
   359 	i*86 | x86_64)
   360 	  basic_machine=$basic_machine-pc
   360 	  basic_machine=$basic_machine-pc
   361 	  ;;
   361 	  ;;
       
   362 	nacl64*)
       
   363 		basic_machine=x86_64-pc
       
   364 		os=-nacl
       
   365 		;;
       
   366 	nacl*)
       
   367 		basic_machine=i686-pc
       
   368 		os=-nacl
       
   369 		;;
       
   370     pnacl*)
       
   371         # le32-unknown-pnacl comes from http://www.chromium.org/nativeclient/pnacl/stability-of-the-pnacl-bitcode-abi
       
   372         basic_machine=le32-unknown
       
   373         os=-pnacl
       
   374         ;;
   362 	# Object if more than one company name word.
   375 	# Object if more than one company name word.
   363 	*-*-*)
   376 	*-*-*)
   364 		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
   377 		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
   365 		exit 1
   378 		exit 1
   366 		;;
   379 		;;
   841 		;;
   854 		;;
   842 	nacl)
   855 	nacl)
   843 		basic_machine=le32-unknown
   856 		basic_machine=le32-unknown
   844 		os=-nacl
   857 		os=-nacl
   845 		;;
   858 		;;
       
   859     pnacl)
       
   860         basic_machine=le32-unknown
       
   861         os=-pnacl
       
   862         ;;
   846 	ncr3000)
   863 	ncr3000)
   847 		basic_machine=i486-ncr
   864 		basic_machine=i486-ncr
   848 		os=-sysv4
   865 		os=-sysv4
   849 		;;
   866 		;;
   850 	netbsd386)
   867 	netbsd386)
  1382 		    *)
  1399 		    *)
  1383 			os=-nto$os
  1400 			os=-nto$os
  1384 			;;
  1401 			;;
  1385 		esac
  1402 		esac
  1386 		;;
  1403 		;;
       
  1404 	-nacl*)
       
  1405 		os=-nacl
       
  1406 		;;
       
  1407     -pnacl*)
       
  1408         os=-pnacl
       
  1409         ;;
  1387 	-nto-qnx*)
  1410 	-nto-qnx*)
  1388 		;;
  1411 		;;
  1389 	-nto*)
  1412 	-nto*)
  1390 		os=`echo $os | sed -e 's|nto|nto-qnx|'`
  1413 		os=`echo $os | sed -e 's|nto|nto-qnx|'`
  1391 		;;
  1414 		;;
  1504 		;;
  1527 		;;
  1505 	-dicos*)
  1528 	-dicos*)
  1506 		os=-dicos
  1529 		os=-dicos
  1507 		;;
  1530 		;;
  1508 	-nacl*)
  1531 	-nacl*)
       
  1532         os=-nacl
       
  1533         ;;
       
  1534 	-pnacl*)
       
  1535         os=-pnacl
  1509 		;;
  1536 		;;
  1510 	-none)
  1537 	-none)
  1511 		;;
  1538 		;;
  1512 	*)
  1539 	*)
  1513 		# Get rid of the `-' at the beginning of $os.
  1540 		# Get rid of the `-' at the beginning of $os.