Changeset 48ad47cc in rtems
- Timestamp:
- 03/01/01 20:46:21 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- d5fb958
- Parents:
- b50b3c8
- Files:
-
- 1 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
rb50b3c8 r48ad47cc 1 2001-02-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 3 * configure.in: Reworked for Canadian Cross support. 4 * Makefile.am: Reflect changes to configure.in. 5 * config.guess, config.sub: Update from subversions.gnu.org. 6 * README.cdn-X: New file. 7 * tools/Makefile.am: Remove build, tools from SUBDIRS. 8 1 9 2001-02-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 10 -
Makefile.am
rb50b3c8 r48ad47cc 10 10 ACLOCAL_AMFLAGS = -I aclocal 11 11 12 SUBDIRS = doc make tools $( HOST_SUBDIRS) $(TARGET_SUBDIRS)12 SUBDIRS = doc make tools $(BUILD_SUBDIRS) $(TARGET_SUBDIRS) 13 13 14 14 AUTOMAKE_FILES = automake/compile.am automake/host.am automake/lib.am \ -
c/src/lib/libbsp/arm/armulator/bsp_specs
rb50b3c8 r48ad47cc 21 21 *link: 22 22 %{!qrtems: %(old_link)} %{qrtems: -dc -dp -N -e _start} 23 -
config.guess
rb50b3c8 r48ad47cc 1 1 #! /bin/sh 2 2 # Attempt to guess a canonical system name. 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 4 4 # Free Software Foundation, Inc. 5 5 6 version='2000-10-03'6 timestamp='2001-02-13' 7 7 8 8 # This file is free software; you can redistribute it and/or modify it … … 33 33 # 34 34 # The plan is that this can be called by configure scripts if you 35 # don't specify an explicit system type (host/target name). 36 # 37 # Only a few systems have been added to this list; please add others 38 # (but try to keep the structure clean). 39 # 35 # don't specify an explicit build system type. 40 36 41 37 me=`echo "$0" | sed -e 's,.*/,,'` … … 44 40 Usage: $0 [OPTION] 45 41 46 Output the configuration name of th is system.42 Output the configuration name of the system \`$me' is run on. 47 43 48 44 Operation modes: 49 -h, --help print this help, then exit 50 -V, --version print version number, then exit" 45 -h, --help print this help, then exit 46 -t, --time-stamp print date of last modification, then exit 47 -v, --version print version number, then exit 48 49 Report bugs and patches to <config-patches@gnu.org>." 50 51 version="\ 52 GNU config.guess ($timestamp) 53 54 Originally written by Per Bothner. 55 Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99, 2000 56 Free Software Foundation, Inc. 57 58 This is free software; see the source for copying conditions. There is NO 59 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 51 60 52 61 help=" … … 55 64 # Parse command line 56 65 while test $# -gt 0 ; do 57 case "$1" in 58 --version | --vers* | -V ) 66 case $1 in 67 --time-stamp | --time* | -t ) 68 echo "$timestamp" ; exit 0 ;; 69 --version | -v ) 59 70 echo "$version" ; exit 0 ;; 60 71 --help | --h* | -h ) … … 65 76 break ;; 66 77 -* ) 67 exec >&2 68 echo "$me: invalid option $1" 69 echo "$help" 78 echo "$me: invalid option $1$help" >&2 70 79 exit 1 ;; 71 80 * ) … … 79 88 fi 80 89 81 # Use $HOST_CC if defined. $CC may point to a cross-compiler 82 if test x"$CC_FOR_BUILD" = x; then 83 if test x"$HOST_CC" != x; then 84 CC_FOR_BUILD="$HOST_CC" 85 else 86 if test x"$CC" != x; then 87 CC_FOR_BUILD="$CC" 88 else 89 CC_FOR_BUILD=cc 90 fi 91 fi 92 fi 93 90 91 dummy=dummy-$$ 92 trap 'rm -f $dummy.c $dummy.o $dummy.rel $dummy; exit 1' 1 2 15 93 94 # CC_FOR_BUILD -- compiler used by this script. 95 # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still 96 # use `HOST_CC' if defined, but it is deprecated. 97 98 case $CC_FOR_BUILD,$HOST_CC,$CC in 99 ,,) echo "int dummy(){}" > $dummy.c 100 for c in cc gcc c89 ; do 101 ($c $dummy.c -c -o $dummy.o) >/dev/null 2>&1 102 if test $? = 0 ; then 103 CC_FOR_BUILD="$c"; break 104 fi 105 done 106 rm -f $dummy.c $dummy.o $dummy.rel 107 if test x"$CC_FOR_BUILD" = x ; then 108 CC_FOR_BUILD=no_compiler_found 109 fi 110 ;; 111 ,,*) CC_FOR_BUILD=$CC ;; 112 ,*,*) CC_FOR_BUILD=$HOST_CC ;; 113 esac 94 114 95 115 # This is needed to find uname on a Pyramid OSx when run in the BSD universe. … … 101 121 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown 102 122 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown 103 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown123 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown 104 124 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown 105 106 dummy=dummy-$$107 trap 'rm -f $dummy.c $dummy.o $dummy; exit 1' 1 2 15108 125 109 126 # Note: order is significant - the case branches are not exclusive. … … 130 147 *) machine=${UNAME_MACHINE}-unknown ;; 131 148 esac 132 # The Operating System including object format. 133 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ 134 | grep __ELF__ >/dev/null 135 then 136 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). 137 # Return netbsd for either. FIX? 138 os=netbsd 139 else 140 os=netbsdelf 141 fi 149 # The Operating System including object format, if it has switched 150 # to ELF recently, or will in the future. 151 case "${UNAME_MACHINE}" in 152 i386|sparc|amiga|arm*|hp300|mvme68k|vax|atari|luna68k|mac68k|news68k|next68k|pc532|sun3*|x68k) 153 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ 154 | grep __ELF__ >/dev/null 155 then 156 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). 157 # Return netbsd for either. FIX? 158 os=netbsd 159 else 160 os=netbsdelf 161 fi 162 ;; 163 *) 164 os=netbsd 165 ;; 166 esac 142 167 # The OS release 143 168 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` … … 248 273 echo arm-acorn-riscix${UNAME_RELEASE} 249 274 exit 0;; 250 SR2?01:HI-UX/MPP:*:* )275 SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) 251 276 echo hppa1.1-hitachi-hiuxmpp 252 277 exit 0;; … … 438 463 echo i386-ibm-aix 439 464 exit 0 ;; 465 ia64:AIX:*:*) 466 if [ -x /usr/bin/oslevel ] ; then 467 IBM_REV=`/usr/bin/oslevel` 468 else 469 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} 470 fi 471 echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} 472 exit 0 ;; 440 473 *:AIX:2:3) 441 474 if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then … … 460 493 fi 461 494 exit 0 ;; 462 *:AIX:*: 4)495 *:AIX:*:[45]) 463 496 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'` 464 if /usr/sbin/lsattr -E Hl ${IBM_CPU_ID} | grep POWER>/dev/null 2>&1; then497 if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then 465 498 IBM_ARCH=rs6000 466 499 else … … 470 503 IBM_REV=`/usr/bin/oslevel` 471 504 else 472 IBM_REV= 4.${UNAME_RELEASE}505 IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} 473 506 fi 474 507 echo ${IBM_ARCH}-ibm-aix${IBM_REV} … … 496 529 exit 0 ;; 497 530 9000/[34678]??:HP-UX:*:*) 531 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` 498 532 case "${UNAME_MACHINE}" in 499 533 9000/31? ) HP_ARCH=m68000 ;; 500 534 9000/[34]?? ) HP_ARCH=m68k ;; 501 535 9000/[678][0-9][0-9]) 536 case "${HPUX_REV}" in 537 11.[0-9][0-9]) 538 if [ -x /usr/bin/getconf ]; then 539 sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` 540 sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` 541 case "${sc_cpu_version}" in 542 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 543 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 544 532) # CPU_PA_RISC2_0 545 case "${sc_kernel_bits}" in 546 32) HP_ARCH="hppa2.0n" ;; 547 64) HP_ARCH="hppa2.0w" ;; 548 esac ;; 549 esac 550 fi ;; 551 esac 552 if [ "${HP_ARCH}" = "" ]; then 502 553 sed 's/^ //' << EOF >$dummy.c 503 554 … … 534 585 EOF 535 586 (CCOPTS= $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null ) && HP_ARCH=`./$dummy` 587 if test -z "$HP_ARCH"; then HP_ARCH=hppa; fi 536 588 rm -f $dummy.c $dummy 589 fi ;; 537 590 esac 591 echo ${HP_ARCH}-hp-hpux${HPUX_REV} 592 exit 0 ;; 593 ia64:HP-UX:*:*) 538 594 HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` 539 echo ${HP_ARCH}-hp-hpux${HPUX_REV}595 echo ia64-hp-hpux${HPUX_REV} 540 596 exit 0 ;; 541 597 3050*:HI-UX:*:*) … … 629 685 echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 630 686 exit 0 ;; 687 CRAY*T3D:*:*:*) 688 echo alpha-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 689 exit 0 ;; 631 690 CRAY*T3E:*:*:*) 632 echo alpha -cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/'691 echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' 633 692 exit 0 ;; 634 693 CRAY*SV1:*:*:*) … … 638 697 echo cray2-cray-unicos 639 698 exit 0 ;; 640 F300:UNIX_System_V:*:*) 699 F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) 700 FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 641 701 FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` 642 702 FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` 643 echo "f300-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 644 exit 0 ;; 645 F301:UNIX_System_V:*:*) 646 echo f301-fujitsu-uxpv`echo $UNAME_RELEASE | sed 's/ .*//'` 647 exit 0 ;; 703 echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" 704 exit 0 ;; 648 705 hp300:OpenBSD:*:*) 649 706 echo m68k-unknown-openbsd${UNAME_RELEASE} … … 694 751 echo ${UNAME_MACHINE}-pc-minix 695 752 exit 0 ;; 753 ia64:Linux:*:*) 754 echo ${UNAME_MACHINE}-unknown-linux 755 exit 0 ;; 756 s390:Linux:*:* | s390x:Linux:*:*) 757 echo ${UNAME_MACHINE}-ibm-linux 758 exit 0 ;; 759 mips:Linux:*:*) 760 cat >$dummy.c <<EOF 761 #ifdef __cplusplus 762 #include <stdio.h> /* for printf() prototype */ 763 int main (int argc, char *argv[]) { 764 #else 765 int main (argc, argv) int argc; char *argv[]; { 766 #endif 767 #ifdef __MIPSEB__ 768 printf ("%s-unknown-linux-gnu\n", argv[1]); 769 #endif 770 #ifdef __MIPSEL__ 771 printf ("%sel-unknown-linux-gnu\n", argv[1]); 772 #endif 773 return 0; 774 } 775 EOF 776 $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0 777 rm -f $dummy.c $dummy 778 ;; 779 x86_64:Linux:*:*) 780 echo x86_64-unknown-linux-gnu 781 exit 0 ;; 782 parisc:Linux:*:* | hppa:Linux:*:*) 783 # Look for CPU level 784 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in 785 PA7*) echo hppa1.1-unknown-linux-gnu ;; 786 PA8*) echo hppa2.0-unknown-linux-gnu ;; 787 *) echo hppa-unknown-linux-gnu ;; 788 esac 789 exit 0 ;; 790 parisc64:Linux:*:* | hppa64:Linux:*:*) 791 echo hppa64-unknown-linux-gnu 792 exit 0 ;; 793 sh*:Linux:*:*) 794 echo ${UNAME_MACHINE}-unknown-linux-gnu 795 exit 0 ;; 696 796 *:Linux:*:*) 697 698 797 # The BFD linker knows what the default object file format is, so 699 798 # first see if it will tell us. cd to the root directory to prevent … … 706 805 p'` 707 806 case "$ld_supported_emulations" in 708 *ia64)709 echo "${UNAME_MACHINE}-unknown-linux"710 exit 0711 ;;712 807 i?86linux) 713 808 echo "${UNAME_MACHINE}-pc-linux-gnuaout" … … 723 818 sparclinux) 724 819 echo "${UNAME_MACHINE}-unknown-linux-gnuaout" 820 exit 0 821 ;; 822 elf32_sparc) 823 echo "${UNAME_MACHINE}-unknown-linux-gnu" 725 824 exit 0 726 825 ;; … … 771 870 rm -f $dummy.c $dummy 772 871 echo powerpc-unknown-linux-gnu${LIBC} 773 exit 0774 ;;775 shelf_linux)776 echo "${UNAME_MACHINE}-unknown-linux-gnu"777 872 exit 0 778 873 ;; … … 809 904 if test "$?" = 0 ; then 810 905 case `./$dummy` in 811 0-0) 812 UNAME_MACHINE="alpha" 813 ;; 814 1-0) 815 UNAME_MACHINE="alphaev5" 816 ;; 817 1-1) 818 UNAME_MACHINE="alphaev56" 819 ;; 820 1-101) 821 UNAME_MACHINE="alphapca56" 822 ;; 823 2-303) 824 UNAME_MACHINE="alphaev6" 825 ;; 826 2-307) 827 UNAME_MACHINE="alphaev67" 828 ;; 906 0-0) UNAME_MACHINE="alpha" ;; 907 1-0) UNAME_MACHINE="alphaev5" ;; 908 1-1) UNAME_MACHINE="alphaev56" ;; 909 1-101) UNAME_MACHINE="alphapca56" ;; 910 2-303) UNAME_MACHINE="alphaev6" ;; 911 2-307) UNAME_MACHINE="alphaev67" ;; 829 912 esac 830 913 … … 837 920 rm -f $dummy.s $dummy 838 921 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} ; exit 0 839 elif test "${UNAME_MACHINE}" = "mips" ; then840 cat >$dummy.c <<EOF841 #ifdef __cplusplus842 #include <stdio.h> /* for printf() prototype */843 int main (int argc, char *argv[]) {844 #else845 int main (argc, argv) int argc; char *argv[]; {846 #endif847 #ifdef __MIPSEB__848 printf ("%s-unknown-linux-gnu\n", argv[1]);849 #endif850 #ifdef __MIPSEL__851 printf ("%sel-unknown-linux-gnu\n", argv[1]);852 #endif853 return 0;854 }855 EOF856 $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy "${UNAME_MACHINE}" && rm $dummy.c $dummy && exit 0857 rm -f $dummy.c $dummy858 elif test "${UNAME_MACHINE}" = "s390"; then859 echo s390-ibm-linux && exit 0860 elif test "${UNAME_MACHINE}" = "x86_64"; then861 echo x86_64-unknown-linux-gnu && exit 0862 922 else 863 923 # Either a pre-BFD a.out linker (linux-gnuoldld) … … 982 1042 M68*:*:R3V[567]*:*) 983 1043 test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; 984 3[34]??:*:4.0:3.0 | 3[34]?? ,*:*:4.0:3.0 | 4850:*:4.0:3.0)1044 3[34]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 4850:*:4.0:3.0) 985 1045 OS_REL='' 986 1046 test -r /etc/.relid \ … … 1005 1065 echo sparc-unknown-lynxos${UNAME_RELEASE} 1006 1066 exit 0 ;; 1007 rs6000:LynxOS:2.*:* | PowerPC:LynxOS:2.*:*)1067 rs6000:LynxOS:2.*:*) 1008 1068 echo rs6000-unknown-lynxos${UNAME_RELEASE} 1069 exit 0 ;; 1070 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:*) 1071 echo powerpc-unknown-lynxos${UNAME_RELEASE} 1009 1072 exit 0 ;; 1010 1073 SM[BE]S:UNIX_SV:*:*) … … 1086 1149 NSR-[KW]:NONSTOP_KERNEL:*:*) 1087 1150 echo nsr-tandem-nsk${UNAME_RELEASE} 1151 exit 0 ;; 1152 *:NonStop-UX:*:*) 1153 echo mips-compaq-nonstopux 1088 1154 exit 0 ;; 1089 1155 BS2000:POSIX*:*:*) … … 1103 1169 fi 1104 1170 echo ${UNAME_MACHINE}-unknown-plan9 1171 exit 0 ;; 1172 i?86:OS/2:*:*) 1173 # If we were able to find `uname', then EMX Unix compatibility 1174 # is probably installed. 1175 echo ${UNAME_MACHINE}-pc-os2-emx 1176 exit 0 ;; 1177 *:TOPS-10:*:*) 1178 echo pdp10-unknown-tops10 1179 exit 0 ;; 1180 *:TENEX:*:*) 1181 echo pdp10-unknown-tenex 1182 exit 0 ;; 1183 KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) 1184 echo pdp10-dec-tops20 1185 exit 0 ;; 1186 XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) 1187 echo pdp10-xkl-tops20 1188 exit 0 ;; 1189 *:TOPS-20:*:*) 1190 echo pdp10-unknown-tops20 1191 exit 0 ;; 1192 *:ITS:*:*) 1193 echo pdp10-unknown-its 1105 1194 exit 0 ;; 1106 1195 esac … … 1195 1284 1196 1285 #if defined (vax) 1197 #if !defined (ultrix) 1198 printf ("vax-dec-bsd\n"); exit (0); 1199 #else 1200 printf ("vax-dec-ultrix\n"); exit (0); 1201 #endif 1286 # if !defined (ultrix) 1287 # include <sys/param.h> 1288 # if defined (BSD) 1289 # if BSD == 43 1290 printf ("vax-dec-bsd4.3\n"); exit (0); 1291 # else 1292 # if BSD == 199006 1293 printf ("vax-dec-bsd4.3reno\n"); exit (0); 1294 # else 1295 printf ("vax-dec-bsd\n"); exit (0); 1296 # endif 1297 # endif 1298 # else 1299 printf ("vax-dec-bsd\n"); exit (0); 1300 # endif 1301 # else 1302 printf ("vax-dec-ultrix\n"); exit (0); 1303 # endif 1202 1304 #endif 1203 1305 … … 1246 1348 $0: unable to guess system type 1247 1349 1248 The $version version of this script cannot recognize your system type. 1249 Please download the most up to date version of the config scripts: 1350 This script, last modified $timestamp, has failed to recognize 1351 the operating system you are using. It is advised that you 1352 download the most up to date version of the config scripts from 1250 1353 1251 1354 ftp://ftp.gnu.org/pub/gnu/config/ … … 1256 1359 information to handle your system. 1257 1360 1258 config.guess version = $version1361 config.guess timestamp = $timestamp 1259 1362 1260 1363 uname -m = `(uname -m) 2>/dev/null || echo unknown` … … 1283 1386 # Local variables: 1284 1387 # eval: (add-hook 'write-file-hooks 'time-stamp) 1285 # time-stamp-start: " version='"1388 # time-stamp-start: "timestamp='" 1286 1389 # time-stamp-format: "%:y-%02m-%02d" 1287 1390 # time-stamp-end: "'" -
config.sub
rb50b3c8 r48ad47cc 1 1 #! /bin/sh 2 # Configuration validation subroutine script , version 1.1.3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000 2 # Configuration validation subroutine script. 3 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 4 4 # Free Software Foundation, Inc. 5 5 6 version='2000-09-11'6 timestamp='2001-02-16' 7 7 8 8 # This file is (in principle) common to ALL GNU software. … … 61 61 62 62 Operation modes: 63 -h, --help print this help, then exit 64 -V, --version print version number, then exit" 63 -h, --help print this help, then exit 64 -t, --time-stamp print date of last modification, then exit 65 -v, --version print version number, then exit 66 67 Report bugs and patches to <config-patches@gnu.org>." 68 69 version="\ 70 GNU config.sub ($timestamp) 71 72 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 73 Free Software Foundation, Inc. 74 75 This is free software; see the source for copying conditions. There is NO 76 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." 65 77 66 78 help=" … … 69 81 # Parse command line 70 82 while test $# -gt 0 ; do 71 case "$1" in 72 --version | --vers* | -V ) 83 case $1 in 84 --time-stamp | --time* | -t ) 85 echo "$timestamp" ; exit 0 ;; 86 --version | -v ) 73 87 echo "$version" ; exit 0 ;; 74 88 --help | --h* | -h ) … … 79 93 break ;; 80 94 -* ) 81 exec >&2 82 echo "$me: invalid option $1" 83 echo "$help" 95 echo "$me: invalid option $1$help" 84 96 exit 1 ;; 85 97 … … 106 118 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` 107 119 case $maybe_os in 108 nto-qnx* | linux-gnu* )120 nto-qnx* | linux-gnu* | storm-chaos* | os2-emx*) 109 121 os=-$maybe_os 110 122 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` … … 204 216 # Recognize the basic CPU types without company name. 205 217 # Some are omitted here because they have special meanings below. 206 tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc | arm \ 207 | arme[lb] | armv[2345] | armv[345][lb] | pyramid | mn10200 | mn10300 | tron | a29k \ 218 tahoe | i860 | ia64 | m32r | m68k | m68000 | m88k | ns32k | arc \ 219 | arm | arme[lb] | arm[bl]e | armv[2345] | armv[345][lb] | strongarm | xscale \ 220 | pyramid | mn10200 | mn10300 | tron | a29k \ 208 221 | 580 | i960 | h8300 \ 209 | x86 | ppcbe | mipsbe | mipsle | shbe | shle | armbe | armle\222 | x86 | ppcbe | mipsbe | mipsle | shbe | shle \ 210 223 | hppa | hppa1.0 | hppa1.1 | hppa2.0 | hppa2.0w | hppa2.0n \ 211 224 | hppa64 \ … … 214 227 | we32k | ns16k | clipper | i370 | sh | sh[34] \ 215 228 | powerpc | powerpcle \ 216 | 1750a | dsp16xx | pdp11 | mips16 | mips64 | mipsel | mips64el \ 229 | 1750a | dsp16xx | pdp10 | pdp11 \ 230 | mips16 | mips64 | mipsel | mips64el \ 217 231 | mips64orion | mips64orionel | mipstx39 | mipstx39el \ 218 232 | mips64vr4300 | mips64vr4300el | mips64vr4100 | mips64vr4100el \ 219 233 | mips64vr5000 | miprs64vr5000el | mcore \ 220 234 | sparc | sparclet | sparclite | sparc64 | sparcv9 | v850 | c4x \ 221 | thumb | d10v | d30v | fr30 | avr )235 | thumb | d10v | d30v | fr30 | avr | openrisc) 222 236 basic_machine=$basic_machine-unknown 223 237 ;; … … 244 258 # FIXME: clean up the formatting here. 245 259 vax-* | tahoe-* | i[234567]86-* | i860-* | ia64-* | m32r-* | m68k-* | m68000-* \ 246 | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | arm-* | c[123]* \ 260 | m88k-* | sparc-* | ns32k-* | fx80-* | arc-* | c[123]* \ 261 | arm-* | armbe-* | armle-* | armv*-* | strongarm-* | xscale-* \ 247 262 | mips-* | pyramid-* | tron-* | a29k-* | romp-* | rs6000-* \ 248 263 | power-* | none-* | 580-* | cray2-* | h8300-* | h8500-* | i960-* \ 249 264 | xmp-* | ymp-* \ 250 | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* | armbe-* | armle-*\265 | x86-* | ppcbe-* | mipsbe-* | mipsle-* | shbe-* | shle-* \ 251 266 | hppa-* | hppa1.0-* | hppa1.1-* | hppa2.0-* | hppa2.0w-* \ 252 267 | hppa2.0n-* | hppa64-* \ … … 255 270 | we32k-* | cydra-* | ns16k-* | pn-* | np1-* | xps100-* \ 256 271 | clipper-* | orion-* \ 257 | sparclite-* | pdp1 1-* | sh-* | powerpc-* | powerpcle-* \272 | sparclite-* | pdp10-* | pdp11-* | sh-* | powerpc-* | powerpcle-* \ 258 273 | sparc64-* | sparcv9-* | sparc86x-* | mips16-* | mips64-* | mipsel-* \ 259 274 | mips64el-* | mips64orion-* | mips64orionel-* \ 260 275 | mips64vr4100-* | mips64vr4100el-* | mips64vr4300-* | mips64vr4300el-* \ 261 276 | mipstx39-* | mipstx39el-* | mcore-* \ 262 | f301-* | armv*-* | s390-* | sv1-* | t3e-* \ 277 | f30[01]-* | f700-* | s390-* | s390x-* | sv1-* | t3e-* \ 278 | [cjt]90-* \ 263 279 | m88110-* | m680[01234]0-* | m683?2-* | m68360-* | z8k-* | d10v-* \ 264 280 | thumb-* | v850-* | d30v-* | tic30-* | c30-* | fr30-* \ … … 354 370 os=-unicos 355 371 ;; 356 [c tj]90-cray)357 basic_machine= c90-cray372 [cjt]90) 373 basic_machine=${basic_machine}-cray 358 374 os=-unicos 359 375 ;; … … 410 426 basic_machine=tron-gmicro 411 427 os=-sysv 428 ;; 429 go32) 430 basic_machine=i386-pc 431 os=-go32 412 432 ;; 413 433 h3050r* | hiux*) … … 509 529 basic_machine=i386-unknown 510 530 os=-vsta 511 ;;512 i386-go32 | go32)513 basic_machine=i386-unknown514 os=-go32515 ;;516 i386-mingw32 | mingw32)517 basic_machine=i386-unknown518 os=-mingw32519 ;;520 i[34567]86-pw32 | pw32)521 basic_machine=i586-unknown522 os=-pw32523 531 ;; 524 532 iris | iris4d) … … 547 555 os=-sysv 548 556 ;; 557 mingw32) 558 basic_machine=i386-pc 559 os=-mingw32 560 ;; 549 561 miniframe) 550 562 basic_machine=m68000-convergent … … 577 589 ;; 578 590 msdos) 579 basic_machine=i386- unknown591 basic_machine=i386-pc 580 592 os=-msdos 581 593 ;; … … 641 653 os=-mon960 642 654 ;; 655 nonstopux) 656 basic_machine=mips-compaq 657 os=-nonstopux 658 ;; 643 659 np1) 644 660 basic_machine=np1-gould … … 676 692 basic_machine=ns32k-pc532 677 693 ;; 678 pentium | p5 | k5 | k6 | nex en)694 pentium | p5 | k5 | k6 | nexgen) 679 695 basic_machine=i586-pc 680 696 ;; … … 683 699 ;; 684 700 pentiumii | pentium2) 685 basic_machine=i 786-pc686 ;; 687 pentium-* | p5-* | k5-* | k6-* | nex en-*)701 basic_machine=i686-pc 702 ;; 703 pentium-* | p5-* | k5-* | k6-* | nexgen-*) 688 704 basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` 689 705 ;; … … 692 708 ;; 693 709 pentiumii-* | pentium2-*) 694 basic_machine=i 786-`echo $basic_machine | sed 's/^[^-]*-//'`710 basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` 695 711 ;; 696 712 pn) 697 713 basic_machine=pn-gould 698 714 ;; 699 power) basic_machine= rs6000-ibm715 power) basic_machine=power-ibm 700 716 ;; 701 717 ppc) basic_machine=powerpc-unknown … … 711 727 ps2) 712 728 basic_machine=i386-ibm 729 ;; 730 pw32) 731 basic_machine=i586-unknown 732 os=-pw32 713 733 ;; 714 734 rom68k) … … 902 922 basic_machine=vax-dec 903 923 ;; 924 pdp10) 925 # there are many clones, so DEC is not a safe bet 926 basic_machine=pdp10-unknown 927 ;; 904 928 pdp11) 905 929 basic_machine=pdp11-dec … … 909 933 ;; 910 934 sh3 | sh4) 911 bas e_machine=sh-unknown935 basic_machine=sh-unknown 912 936 ;; 913 937 sparc | sparcv9) … … 992 1016 | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \ 993 1017 | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ 994 | -openstep* | -oskit* | -conix* | -pw32*) 1018 | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ 1019 | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* | -os2*) 995 1020 # Remember, each alternative MUST END IN *, to match a version number. 996 1021 ;; … … 1090 1115 os=-xenix 1091 1116 ;; 1092 -*mint | - *MiNT)1117 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1093 1118 os=-mint 1094 1119 ;; … … 1124 1149 os=-aout 1125 1150 ;; 1151 pdp10-*) 1152 os=-tops20 1153 ;; 1126 1154 pdp11-*) 1127 1155 os=-none … … 1232 1260 os=-rtu 1233 1261 ;; 1234 f30 1-fujitsu)1262 f30[01]-fujitsu | f700-fujitsu) 1235 1263 os=-uxpv 1236 1264 ;; … … 1310 1338 vendor=apple 1311 1339 ;; 1312 -*mint | - *MiNT)1340 -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) 1313 1341 vendor=atari 1314 1342 ;; … … 1323 1351 # Local variables: 1324 1352 # eval: (add-hook 'write-file-hooks 'time-stamp) 1325 # time-stamp-start: " version='"1353 # time-stamp-start: "timestamp='" 1326 1354 # time-stamp-format: "%:y-%02m-%02d" 1327 1355 # time-stamp-end: "'" -
configure.in
rb50b3c8 r48ad47cc 32 32 RTEMS_ENABLE_TESTS 33 33 RTEMS_ENABLE_RTEMS_DEBUG 34 RTEMS_ENABLE_RTEMSBSP(dummy) 35 36 if test $host != $build; then 37 AC_MSG_WARN([] 38 [*** *** *** WARNING *** *** ***] 39 [] 40 [Entering BEYOND BLEEDING EDGE TERRITORY] 41 [] 42 [You are trying to build RTEMS Canadian cross] 43 [If you really mean it, feel free to continue ...] 44 [*** *** *** *** *** *** *** ***]) 45 fi 46 47 ## NOTES: 48 ## The tools/*-directories situation is unclear 49 ## * tools/build are host-native tools to be installed on the host. 50 ## * tools/cpu are host-native or host-cross-target-tools 51 ## * tools/update are build-host-native tools 34 52 35 53 # these tools are built for the build environment 36 54 # 37 build_tools="tools/ build tools/update tools/cpu"55 build_tools="tools/update" 38 56 39 # these libraries are usedfor the host environment57 # these libraries are built for the host environment 40 58 # 41 59 host_libs="" … … 43 61 # these tools are built for the host environment 44 62 # 45 host_tools=" "63 host_tools="tools/build tools/cpu" 46 64 47 65 # these libraries are built for the target environment, and are built after … … 55 73 target_tools="" 56 74 57 ## All tools belong in one of the four categories, and are assigned above 58 ## We assign ${configdirs} this way to remove all embedded newlines. This 59 ## is important because configure will choke if they ever get through. 60 ## ${configdirs} is directories we build using the host tools. 75 ## All tools belong in one of the five categories, and are assigned above. 76 ## ${host_configdirs} is directories we build using the host tools. 61 77 ## ${target_configdirs} is directories we build using the target tools. 62 78 # 63 configdirs="${host_libs} ${host_tools}"64 AC_SUBST( configdirs)79 host_configdirs="${host_libs} ${host_tools}" 80 AC_SUBST(host_configdirs) 65 81 66 82 target_configdirs="${target_libs} ${target_tools}" 67 83 AC_SUBST(target_configdirs) 68 84 69 # Record target_configdirs and the configure arguments in Makefile. 70 targargs=`echo "${ac_configure_args}" | \ 71 sed -e 's/--no[^ ]*//' \ 72 -e 's/--cache[a-z-]*=[^ ]*//' \ 73 -e 's/--ho[a-z-]*=[^ ]*//' \ 74 -e 's/--bu[a-z-]*=[^ ]*//' \ 75 -e 's/--ta[a-z-]*=[^ ]*//'`; 76 77 targargs="--host=${target_alias} --build=${build} ${targargs}" 78 AC_SUBST(targargs) 79 85 RTEMS_TARGET_CONFIG_PREPARE 80 86 target_subdir=${target_alias} 81 87 82 changequote(,)dnl 83 if test $target = $host; 88 RTEMS_HOST_CONFIG_PREPARE 89 host_subdir=${host_alias} 90 91 if test $build = $host; 84 92 then 85 HOST_SUBDIRS="$configdirs $target_configdirs" 86 TARGET_SUBDIRS="" 93 BUILD_SUBDIRS="$build_tools $host_configdirs" 94 95 if test $build = $target; 96 then 97 BUILD_SUBDIRS="$BUILD_SUBDIRS $target_configdirs"; 98 else 99 TARGET_SUBDIRS=`echo "$target_configdirs" | \ 100 sed -e "s%\([[^ ]][[^ ]]*\)%$target_alias/\1%g"` 101 fi 87 102 else 88 HOST_SUBDIRS="$configdirs" 89 TARGET_SUBDIRS=`echo "$target_configdirs" | \ 90 sed -e "s%\([^ ]\+\)%$target_alias/\1%g"` 91 fi 92 changequote([,])dnl 93 94 if test $host = $build; 95 then 96 HOST_SUBDIRS="$build_tools $HOST_SUBDIRS" 97 else 98 build_configdirs="$build_tools" 103 ## If building Canadian cross, disable the target directories 104 target_configdirs="" 105 BUILD_SUBDIRS="$build_tools" 106 TARGET_SUBDIRS=`echo "$host_configdirs" | \ 107 sed -e "s%\([[^ ]][[^ ]]*\)%$host_alias/\1%g"` 99 108 fi 100 109 101 AC_CONFIG_SUBDIRS($ HOST_SUBDIRS)110 AC_CONFIG_SUBDIRS($BUILD_SUBDIRS) 102 111 AC_SUBST(TARGET_SUBDIRS) 103 AC_SUBST( HOST_SUBDIRS)112 AC_SUBST(BUILD_SUBDIRS) 104 113 105 114 AC_OUTPUT( … … 112 121 doc/Makefile) 113 122 114 if test "$no_recursion" != yes; then 115 116 if test $target != $host; then 117 # Remove --srcdir arguments so they do not pile up. 118 ac_sub_configure_args= 119 ac_prev= 120 for ac_arg in $targargs; do 121 if test -n "$ac_prev"; then 122 ac_prev= 123 continue 124 fi 125 case "$ac_arg" in 126 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 127 ac_prev=srcdir ;; 128 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 129 ;; 130 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 131 esac 132 done 133 134 test -d $target_subdir || mkdir $target_subdir 135 for ac_config_dir in $target_configdirs; do 136 # Do not complain, so a configure script can configure whichever 137 # parts of a large source tree are present. 138 if test ! -d $srcdir/$ac_config_dir; then 139 continue 140 fi 141 142 echo configuring in $target_subdir/$ac_config_dir 143 144 case "$srcdir" in 145 .) ;; 146 *) 147 if test -d $target_subdir/$ac_config_dir || mkdir $target_subdir/$ac_config_dir; then :; 148 else 149 AC_MSG_ERROR(can not create `pwd`/$target_subdir/$ac_config_dir) 150 fi 151 ;; 152 esac 153 154 ac_popdir=`pwd` 155 cd $target_subdir/$ac_config_dir 156 157 changequote(, )dnl 158 # A "../" for each directory in /$ac_config_dir. 159 ac_dots=`echo $target_subdir/$ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` 160 changequote([, ])dnl 161 162 case "$srcdir" in 163 .) # No --srcdir option. We are building in place. 164 ac_sub_srcdir=$srcdir ;; 165 /*) # Absolute path. 166 ac_sub_srcdir=$srcdir/$ac_config_dir ;; 167 *) # Relative path. 168 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;; 169 esac 170 171 # Check for configure 172 if test -f $ac_sub_srcdir/configure; then 173 ac_sub_configure=$ac_sub_srcdir/configure 174 else 175 AC_MSG_WARN(no configuration information is in $ac_config_dir) 176 ac_sub_configure= 177 fi 178 179 # The recursion is here. 180 if test -n "$ac_sub_configure"; then 181 182 # Make the cache file name correct relative to the subdirectory. 183 ac_sub_cache_file=$cache_file 184 ifdef([AC_PROVIDE_AC_PROG_INSTALL], 185 [ case "$ac_given_INSTALL" in 186 changequote(, )dnl 187 [/$]*) INSTALL="$ac_given_INSTALL" ;; 188 changequote([, ])dnl 189 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 190 esac 191 ])dnl 192 193 echo "[running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file] --srcdir=$ac_sub_srcdir" 194 # The eval makes quoting arguments work. 195 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure \ 196 $ac_sub_configure_args --srcdir=$ac_sub_srcdir \ 197 --with-target-subdir=$target_subdir \ 198 --cache-file=$ac_sub_cache_file \ 199 --libdir='${exec_prefix}'/$target_alias/lib 200 then : 201 else 202 AC_MSG_ERROR($ac_sub_configure failed for $ac_config_dir) 203 fi 204 fi 205 206 cd $ac_popdir 207 done 208 fi 209 210 if test $build != $host; then 211 # Remove --srcdir arguments so they do not pile up. 212 ac_sub_configure_args= 213 ac_prev= 214 for ac_arg in $targargs; do 215 if test -n "$ac_prev"; then 216 ac_prev= 217 continue 218 fi 219 case "$ac_arg" in 220 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 221 ac_prev=srcdir ;; 222 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 223 ;; 224 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 225 esac 226 done 227 228 # test -d $target_subdir || mkdir $target_subdir 229 for ac_config_dir in $build_configdirs; do 230 # Do not complain, so a configure script can configure whichever 231 # parts of a large source tree are present. 232 if test ! -d $srcdir/$ac_config_dir; then 233 continue 234 fi 235 236 echo configuring in $ac_config_dir 237 238 case "$srcdir" in 239 .) ;; 240 *) 241 if test -d $ac_config_dir || mkdir $ac_config_dir; then :; 242 else 243 AC_MSG_ERROR(can not create `pwd`/$ac_config_dir) 244 fi 245 ;; 246 esac 247 248 ac_popdir=`pwd` 249 cd $ac_config_dir 250 251 changequote(, )dnl 252 # A "../" for each directory in /$ac_config_dir. 253 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` 254 changequote([, ])dnl 255 256 case "$srcdir" in 257 .) # No --srcdir option. We are building in place. 258 ac_sub_srcdir=$srcdir ;; 259 /*) # Absolute path. 260 ac_sub_srcdir=$srcdir/$ac_config_dir ;; 261 *) # Relative path. 262 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;; 263 esac 264 265 # Check for configure 266 if test -f $ac_sub_srcdir/configure; then 267 ac_sub_configure=$ac_sub_srcdir/configure 268 else 269 AC_MSG_WARN(no configuration information is in $ac_config_dir) 270 ac_sub_configure= 271 fi 272 273 # The recursion is here. 274 if test -n "$ac_sub_configure"; then 275 276 # Make the cache file name correct relative to the subdirectory. 277 ac_sub_cache_file=$cache_file 278 ifdef([AC_PROVIDE_AC_PROG_INSTALL], 279 [ case "$ac_given_INSTALL" in 280 changequote(, )dnl 281 [/$]*) INSTALL="$ac_given_INSTALL" ;; 282 changequote([, ])dnl 283 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 284 esac 285 ])dnl 286 287 echo "[running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file] --srcdir=$ac_sub_srcdir" 288 # The eval makes quoting arguments work. 289 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure \ 290 $ac_sub_configure_args --srcdir=$ac_sub_srcdir \ 291 --cache-file=$ac_sub_cache_file \ 292 --build=$build --host=$build 293 then : 294 else 295 AC_MSG_ERROR($ac_sub_configure failed for $ac_config_dir) 296 fi 297 fi 298 299 cd $ac_popdir 300 done 301 fi 302 fi 123 RTEMS_TARGET_CONFIG_SUBDIRS 124 RTEMS_HOST_CONFIG_SUBDIRS -
make/custom/arm_bare_bsp.cfg
rb50b3c8 r48ad47cc 36 36 37 37 define make-exe 38 $( CC) -v -static -Wl,-Map -Wl,Mapfile -Wl,-T -Wl,linkcmds -Wl,-N -o $(basename $@).obj $(LINK_OBJS) $(LINK_LIBS)39 # $(LINK.c) $(LDLIBS) -o $@$(LINK_OBJS) $(LINK_LIBS)38 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).obj \ 39 $(LINK_OBJS) $(LINK_LIBS) 40 40 $(OBJCOPY) -O binary \ 41 41 --only-section=.text \ -
scripts/setup.def
rb50b3c8 r48ad47cc 8 8 binutils_rpm_release=3 9 9 newlib_version=1.9.0 10 newlib_patch_version=200 0121910 newlib_patch_version=20010221 11 11 gcc_version=2.95.2 12 gcc_patch_version=200 0122613 gccnewlib_rpm_release= 112 gcc_patch_version=20010221 13 gccnewlib_rpm_release=2 14 14 gdb_version=5.0 15 15 gdb_patch_version=20000718 -
tools/Makefile.am
rb50b3c8 r48ad47cc 3 3 AUTOMAKE_OPTIONS = foreign 1.4 4 4 5 SUBDIRS = build cpuupdate5 SUBDIRS = update 6 6 7 7 include $(top_srcdir)/automake/subdirs.am
Note: See TracChangeset
for help on using the changeset viewer.