config.gcc (169690) | config.gcc (219374) |
---|---|
1# GCC target-specific configuration file. 2# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3# Free Software Foundation, Inc. 4 5#This file is part of GCC. 6 7#GCC is free software; you can redistribute it and/or modify it under 8#the terms of the GNU General Public License as published by the Free --- 1193 unchanged lines hidden (view full) --- 1202 *-*-solaris2.1[0-9]*) 1203 tm_file="${tm_file} i386/x86-64.h i386/sol2-10.h" 1204 tm_defines="${tm_defines} TARGET_BI_ARCH=1" 1205 tmake_file="$tmake_file i386/t-sol2-10" 1206 need_64bit_hwint=yes 1207 # FIXME: -m64 for i[34567]86-*-* should be allowed just 1208 # like -m32 for x86_64-*-*. 1209 case X"${with_cpu}" in | 1# GCC target-specific configuration file. 2# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3# Free Software Foundation, Inc. 4 5#This file is part of GCC. 6 7#GCC is free software; you can redistribute it and/or modify it under 8#the terms of the GNU General Public License as published by the Free --- 1193 unchanged lines hidden (view full) --- 1202 *-*-solaris2.1[0-9]*) 1203 tm_file="${tm_file} i386/x86-64.h i386/sol2-10.h" 1204 tm_defines="${tm_defines} TARGET_BI_ARCH=1" 1205 tmake_file="$tmake_file i386/t-sol2-10" 1206 need_64bit_hwint=yes 1207 # FIXME: -m64 for i[34567]86-*-* should be allowed just 1208 # like -m32 for x86_64-*-*. 1209 case X"${with_cpu}" in |
1210 Xgeneric|Xnocona|Xx86-64|Xk8|Xopteron|Xathlon64|Xathlon-fx) | 1210 Xgeneric|Xcore2|Xnocona|Xx86-64|Xk8|Xopteron|Xathlon64|Xathlon-fx) |
1211 ;; 1212 X) 1213 with_cpu=generic 1214 ;; 1215 *) 1216 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2 | 1211 ;; 1212 X) 1213 with_cpu=generic 1214 ;; 1215 *) 1216 echo "Unsupported CPU used in --with-cpu=$with_cpu, supported values:" 1>&2 |
1217 echo "generic nocona x86-64 k8 opteron athlon64 athlon-fx" 1>&2 | 1217 echo "generic core2 nocona x86-64 k8 opteron athlon64 athlon-fx" 1>&2 |
1218 exit 1 1219 ;; 1220 esac 1221 # Solaris 2.10 provides crt1.o, crti.o, crtn.o, and gcrt1.o as 1222 # part of the base system. 1223 extra_parts="gmon.o crtbegin.o crtend.o" 1224 ;; 1225 *) --- 1306 unchanged lines hidden (view full) --- 2532 with_cpu=pentium4 2533 ;; 2534 prescott-*) 2535 with_cpu=prescott 2536 ;; 2537 nocona-*) 2538 with_cpu=nocona 2539 ;; | 1218 exit 1 1219 ;; 1220 esac 1221 # Solaris 2.10 provides crt1.o, crti.o, crtn.o, and gcrt1.o as 1222 # part of the base system. 1223 extra_parts="gmon.o crtbegin.o crtend.o" 1224 ;; 1225 *) --- 1306 unchanged lines hidden (view full) --- 2532 with_cpu=pentium4 2533 ;; 2534 prescott-*) 2535 with_cpu=prescott 2536 ;; 2537 nocona-*) 2538 with_cpu=nocona 2539 ;; |
2540 core2-*) 2541 with_cpu=core2 2542 ;; |
|
2540 pentium_m-*) 2541 with_cpu=pentium-m 2542 ;; 2543 pentiumpro-*) 2544 with_cpu=pentiumpro 2545 ;; 2546 *) 2547 with_cpu=generic 2548 ;; 2549 esac 2550 ;; 2551 x86_64-*-*) 2552 case ${target_noncanonical} in 2553 k8-*|opteron-*|athlon_64-*) 2554 with_cpu=k8 2555 ;; 2556 nocona-*) 2557 with_cpu=nocona 2558 ;; | 2543 pentium_m-*) 2544 with_cpu=pentium-m 2545 ;; 2546 pentiumpro-*) 2547 with_cpu=pentiumpro 2548 ;; 2549 *) 2550 with_cpu=generic 2551 ;; 2552 esac 2553 ;; 2554 x86_64-*-*) 2555 case ${target_noncanonical} in 2556 k8-*|opteron-*|athlon_64-*) 2557 with_cpu=k8 2558 ;; 2559 nocona-*) 2560 with_cpu=nocona 2561 ;; |
2562 core2-*) 2563 with_cpu=core2 2564 ;; |
|
2559 *) 2560 with_cpu=generic 2561 ;; 2562 esac 2563 ;; 2564 alphaev6[78]*-*-*) 2565 with_cpu=ev67 2566 ;; --- 215 unchanged lines hidden (view full) --- 2782 case "${target}" in 2783 x86_64-*-*) 2784 echo "CPU given in --with-$which=$val doesn't support 64bit mode." 1>&2 2785 exit 1 2786 ;; 2787 esac 2788 # OK 2789 ;; | 2565 *) 2566 with_cpu=generic 2567 ;; 2568 esac 2569 ;; 2570 alphaev6[78]*-*-*) 2571 with_cpu=ev67 2572 ;; --- 215 unchanged lines hidden (view full) --- 2788 case "${target}" in 2789 x86_64-*-*) 2790 echo "CPU given in --with-$which=$val doesn't support 64bit mode." 1>&2 2791 exit 1 2792 ;; 2793 esac 2794 # OK 2795 ;; |
2790 "" | k8 | opteron | athlon64 | athlon-fx | nocona | generic) | 2796 "" | k8 | opteron | athlon64 | athlon-fx | nocona | core2 | generic) |
2791 # OK 2792 ;; 2793 *) 2794 echo "Unknown CPU given in --with-$which=$val." 1>&2 2795 exit 1 2796 ;; 2797 esac 2798 done --- 343 unchanged lines hidden --- | 2797 # OK 2798 ;; 2799 *) 2800 echo "Unknown CPU given in --with-$which=$val." 1>&2 2801 exit 1 2802 ;; 2803 esac 2804 done --- 343 unchanged lines hidden --- |