📄 config.gcc
字号:
thread_file='vxworks' ;;a29k-*-*) # Default a29k environment. use_collect2=yes ;;alpha*-*-unicosmk*) use_collect2=yes tm_file="${tm_file} alpha/unicosmk.h" # Don't include t-ieee for now because we don't support that yet # tmake_file="alpha/t-ieee" tmake_file="alpha/t-unicosmk" ;;alpha-*-interix) tm_file="${tm_file} alpha/alpha32.h interix.h alpha/alpha-interix.h" # GAS + IEEE_CONFORMANT+IEEE (no inexact); #target_cpu_default="MASK_GAS|MASK_IEEE_CONFORMANT|MASK_IEEE" # GAS + IEEE_CONFORMANT target_cpu_default="MASK_GAS|MASK_IEEE_CONFORMANT" xm_defines=POSIX xm_file="alpha/xm-alpha-interix.h" tmake_file="alpha/t-alpha t-interix alpha/t-interix alpha/t-ieee" if test x$enable_threads = xyes ; then thread_file='posix' fi if test x$stabs = xyes ; then tm_file="${tm_file} dbxcoff.h" fi #prefix='$$INTERIX_ROOT'/usr/contrib #local_prefix='$$INTERIX_ROOT'/usr/contrib ;;alpha*-*-linux*ecoff*) tm_file="${tm_file} alpha/linux-ecoff.h alpha/linux.h" target_cpu_default="MASK_GAS" tmake_file="alpha/t-alpha alpha/t-ieee" gas=no gas=yes gnu_ld=yes ;;alpha*-*-linux*libc1*) tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h" target_cpu_default="MASK_GAS" tmake_file="t-slibgcc-elf-ver t-linux t-linux-gnulibc1 alpha/t-alpha alpha/t-crtfm alpha/t-ieee" extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" gas=yes gnu_ld=yes if test x$enable_threads = xyes; then thread_file='posix' fi ;;alpha*-*-linux*) tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h" target_cpu_default="MASK_GAS" tmake_file="t-slibgcc-elf-ver t-linux alpha/t-crtfm alpha/t-alpha alpha/t-ieee" extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" gas=yes gnu_ld=yes ;;alpha*-*-freebsd*) tm_file="${tm_file} ${fbsd_tm_file} alpha/elf.h alpha/freebsd.h" target_cpu_default="MASK_GAS" tmake_file="${tmake_file} alpha/t-crtfm alpha/t-alpha alpha/t-ieee" extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o" ;;alpha*-*-netbsd*) tm_file="${tm_file} netbsd.h alpha/elf.h netbsd-elf.h alpha/netbsd.h" target_cpu_default="MASK_GAS" tmake_file="${tmake_file} alpha/t-alpha alpha/t-ieee" ;;alpha*-*-openbsd*) # default x-alpha is only appropriate for dec-osf. target_cpu_default="MASK_GAS" tmake_file="alpha/t-alpha alpha/t-ieee" ;;alpha*-dec-osf*) xm_defines=POSIX if test x$stabs = xyes then tm_file="${tm_file} dbx.h" fi if test x$gas != xyes then extra_passes="mips-tfile mips-tdump" fi use_collect2=yes tmake_file="alpha/t-alpha alpha/t-ieee alpha/t-crtfm" extra_headers=va_list.h case $machine in *-*-osf1*) tm_file="${tm_file} alpha/osf.h alpha/osf12.h alpha/osf2or3.h" ;; *-*-osf[23]*) tm_file="${tm_file} alpha/osf.h alpha/osf2or3.h" ;; *-*-osf4*) tm_file="${tm_file} alpha/osf.h" tmake_file="$tmake_file alpha/t-osf4" # Some versions of OSF4 (specifically X4.0-9 296.7) have # a broken tar, so we use cpio instead. install_headers_dir=install-headers-cpio ;; *-*-osf5*) tm_file="${tm_file} alpha/osf.h alpha/osf5.h" tmake_file="$tmake_file alpha/t-osf4" float_format=i128 ;; esac case $machine in *-*-osf4.0[b-z] | *-*-osf4.[1-9]* | *-*-osf5*) target_cpu_default=MASK_SUPPORT_ARCH ;; esac ;;alpha*-*-vxworks*) xm_defines=POSIX tm_file="${tm_file} dbx.h alpha/vxworks.h" tmake_file="alpha/t-alpha alpha/t-ieee" if [ x$gas != xyes ] then extra_passes="mips-tfile mips-tdump" fi use_collect2=yes thread_file='vxworks' ;;alpha64-dec-*vms*) xm_defines=POSIX tm_file="alpha/vms.h alpha/vms64.h" xm_file="alpha/xm-vms.h alpha/xm-vms64.h" tmake_file="alpha/t-alpha alpha/t-vms alpha/t-vms64 alpha/t-ieee" xmake_file=alpha/x-vms exeext=.exe # This removes the cpu type and manufacturer components and # replaces "." with "_" in the operating system version. case $host in *-*-*vms*) target_alias=`echo $host \ | sed 's/.*-.*-\(.*\)$/\1/' | sed 's/\./_/g'` ;; esac install_headers_dir=install-headers-cp prefix=/gnu local_prefix=/gnu ;;alpha*-dec-*vms*) xm_defines=POSIX tm_file=alpha/vms.h xm_file=alpha/xm-vms.h tmake_file="alpha/t-alpha alpha/t-vms alpha/t-ieee" xmake_file=alpha/x-vms exeext=.exe # This removes the cpu type and manufacturer components and # replaces "." with "_" in the operating system version. case $host in *-*-*vms*) target_alias=`echo $host \ | sed 's/.*-.*-\(.*\)$/\1/' | sed 's/\./_/g'` ;; esac install_headers_dir=install-headers-cp prefix=/gnu local_prefix=/gnu ;;arc-*-elf*) tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" extra_parts="crtinit.o crtfini.o" ;;arm-*-coff* | armel-*-coff*) tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h" tmake_file=arm/t-arm-coff ;;arm-*-vxworks*) tm_file="arm/semi.h arm/aout.h arm/coff.h arm/vxarm.h arm/arm.h" tmake_file=arm/t-arm-coff thread_file='vxworks' ;;arm-*-riscix1.[01]*) # Acorn RISC machine (early versions) tm_file="arm/riscix1-1.h arm/arm.h" use_collect2=yes ;;arm-*-riscix*) # Acorn RISC machine if test x$gas = xyes then tm_file="arm/riscix.h arm/rix-gas.h arm/arm.h" else tm_file="arm/riscix.h arm/arm.h" fi tmake_file=arm/t-riscix use_collect2=yes ;;arm-semi-aout | armel-semi-aout) tm_file="arm/semi.h arm/aout.h arm/arm.h" tmake_file=arm/t-semi ;;arm-semi-aof | armel-semi-aof) tm_file="arm/semiaof.h arm/aof.h arm/arm.h" tmake_file=arm/t-semi ;;arm*-*-freebsd*|strongarm*-*-freebsd*) tm_file="dbxelf.h elfos.h ${fbsd_tm_file} arm/elf.h arm/aout.h arm/freebsd.h arm/arm.h" tmake_file="${tmake_file} arm/t-strongarm-elf" ;;arm*-*-netbsdelf*) echo "GCC does not yet support the ${machine} target"; exit 1 ;;arm*-*-netbsd*) tm_file="arm/aout.h arm/arm.h netbsd.h netbsd-aout.h arm/netbsd.h" tmake_file="t-netbsd arm/t-netbsd" use_collect2=yes ;;arm*-*-linux*) # ARM GNU/Linux with ELF tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/linux-gas.h arm/linux-elf.h" tmake_file="t-slibgcc-elf-ver t-linux arm/t-linux" extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o" gnu_ld=yes case x${enable_threads} in x | xyes | xpthreads | xposix) thread_file='posix' ;; esac ;;arm*-*-uclinux*) # ARM ucLinux tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/linux-gas.h arm/linux-elf.h arm/uclinux-elf.h" tmake_file=arm/t-arm-elf ;;arm*-*-aout) tm_file="arm/aout.h arm/arm.h" tmake_file=arm/t-arm-aout ;;arm*-*-ecos-elf) tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/ecos-elf.h" tmake_file=arm/t-arm-elf ;;arm*-*-rtems*) xm_defines=POSIX tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h arm/rtems-elf.h rtems.h" tmake_file="arm/t-arm-elf t-rtems" if test x$enable_threads = xyes; then thread_file='rtems' fi ;;arm*-*-elf) tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h" tmake_file=arm/t-arm-elf ;;arm*-*-conix*) tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/conix-elf.h arm/aout.h arm/arm.h" tmake_file=arm/t-arm-elf ;;arm*-*-oabi) tm_file="arm/unknown-elf-oabi.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h" tmake_file=arm/t-arm-elf ;;arm-*-pe*) tm_file="arm/semi.h arm/aout.h arm/arm.h arm/coff.h arm/pe.h" tmake_file=arm/t-pe extra_objs="pe.o" ;;avr-*-*) ;;c1-convex-*) # Convex C1 target_cpu_default=1 use_collect2=yes ;;c2-convex-*) # Convex C2 target_cpu_default=2 use_collect2=yes ;;c32-convex-*) target_cpu_default=4 use_collect2=yes ;;c34-convex-*) target_cpu_default=8 use_collect2=yes ;;c38-convex-*) target_cpu_default=16 use_collect2=yes ;;c4x-*-rtems*) xm_defines=POSIX tmake_file="c4x/t-c4x t-rtems" tm_file="c4x/c4x.h c4x/rtems.h rtems.h" if test x$enable_threads = xyes; then thread_file='rtems' fi c_target_objs="c4x-c.o" cxx_target_objs="c4x-c.o" ;;c4x-*) float_format=c4x tmake_file=c4x/t-c4x c_target_objs="c4x-c.o" cxx_target_objs="c4x-c.o" ;;clipper-intergraph-clix*) tm_file="${tm_file} svr3.h clipper/clix.h" xm_defines=POSIX extra_parts="crtbegin.o crtend.o" install_headers_dir=install-headers-cpio ;;cris-*-aout) tm_file="dbxelf.h ${tm_file} cris/aout.h" gas=yes tmake_file="cris/t-cris cris/t-aout" ;;cris-*-elf | cris-*-none) tm_file="dbxelf.h elfos.h ${tm_file}" tmake_file="cris/t-cris cris/t-elfmulti" gas=yes ;;cris-*-linux*) tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h cris/linux.h" tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux" extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" case x${enable_threads} in x | xyes | xpthreads | xposix) thread_file=posix ;; esac gas=yes ;;d30v-*) tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" float_format=i64 ;;dsp16xx-*) ;;elxsi-elxsi-*) use_collect2=yes ;;fr30-*-elf) tm_file="dbxelf.h elfos.h svr4.h ${tm_file}" tmake_file=fr30/t-fr30 extra_parts="crti.o crtn.o crtbegin.o crtend.o" ;;h8300-*-rtems*) xm_defines=POSIX tmake_file="h8300/t-h8300 t-rtems" tm_file="h8300/h8300.h h8300/rtems.h rtems.h" if test x$enable_threads = xyes; then thread_file='rtems' fi float_format=i32 ;;h8300-*-elf*) tmake_file="h8300/t-h8300 h8300/t-elf" tm_file="h8300/h8300.h h8300/elf.h" float_format=i32 ;;h8300-*-*) float_format=i32 ;;hppa*64*-*-linux* | parisc*64*-*-linux*) target_cpu_default="(MASK_PA_11 | MASK_PA_20)" tm_file="pa/pa64-start.h ${tm_file} dbxelf.h elfos.h svr4.h linux.h pa/pa-linux.h \ pa/pa64-regs.h pa/pa-64.h pa/pa64-linux.h" tmake_file=pa/t-linux64 gas=yes gnu_ld=yes ;;hppa*-*-linux* | parisc*-*-linux*) target_cpu_default="MASK_PA_11" tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h pa/pa-linux.h \ pa/pa32-regs.h pa/pa32-linux.h" tmake_file="t-slibgcc-elf-ver t-linux pa/t-linux" extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" gas=yes gnu_ld=yes ;;hppa*-*-openbsd*) target_cpu_default="MASK_PA_11" tmake_file=pa/t-bsd ;;hppa1.1-*-pro*) target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)" tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h" tmake_file="pa/t-bsd pa/t-pro" xmake_file="pa/x-ada" ;;hppa1.1-*-osf*) target_cpu_default="MASK_PA_11" tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h" tmake_file="pa/t-bsd pa/t-pa" xmake_file="pa/x-ada" use_collect2=yes ;;hppa1.1-*-rtems*) xm_defines=POSIX target_cpu_default="(MASK_JUMP_IN_DELAY | MASK_PORTABLE_RUNTIME | MASK_GAS | MASK_NO_SPACE_REGS | MASK_SOFT_FLOAT)" tm_file="${tm_file} pa/pa32-regs.h dbxelf.h elfos.h pa/elf.h pa/pa-pro-end.h libgloss.h pa/rtems.h rtems.h" tmake_file="pa/t-bsd pa/t-pro" xmake_file="pa/x-ada" ;;hppa1.0-*-osf*) tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-osf.h" tmake_file="pa/t-bsd pa/t-pa" xmake_file="pa/x-ada" use_collect2=yes ;;hppa1.1-*-bsd*) tm_file="${tm_file} pa/pa32-regs.h pa/som.h" target_cpu_default="MASK_PA_11" tmake_file="pa/t-bsd pa/t-pa" xmake_file="pa/x-ada" use_collect2=yes ;;hppa1.0-*-bsd*) tm_file="${tm_file} pa/pa32-regs.h pa/som.h" tmake_file="pa/t-bsd pa/t-pa" xmake_file="pa/x-ada" use_collect2=yes ;;hppa1.0-*-hpux7*) tm_file="pa/pa-oldas.h ${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux7.h" xm_defines=POSIX tmake_file=pa/t-pa-hpux install_headers_dir=install-headers-cpio use_collect2=yes ;;hppa1.0-*-hpux8.0[0-2]*) tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h" xm_defines=POSIX tmake_file=pa/t-pa-hpux if test x$gas != xyes then tm_file="pa/pa-oldas.h ${tm_file}" fi install_headers_dir=install-headers-cpio use_collect2=yes ;;hppa1.1-*-hpux8.0[0-2]*) target_cpu_default="MASK_PA_11" tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h" xm_defines=POSIX tmake_file=pa/t-pa-hpux if test x$gas != xyes then tm_file="pa/pa-oldas.h ${tm_file}" fi install_headers_dir=install-headers-cpio use_collect2=yes ;;hppa1.1-*-hpux8*) target_cpu_default="MASK_PA_11" tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h" xm_defines=POSIX tmake_file=pa/t-pa-hpux install_headers_dir=install-headers-cpio use_collect2=yes ;;hppa1.0-*-hpux8*) tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h" xm_defines=POSIX tmake_file=pa/t-pa-hpux install_headers_dir=install-headers-cpio use_collect2=yes ;;hppa1.1-*-hpux10* | hppa2*-*-hpux10*) target_cpu_default="MASK_PA_11" tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h" float_format=i128 xm_defines=POSIX tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib" xmake_file="pa/x-ada" if test x$enable_threads = x; then enable_threads=$have_pthread_h fi case x${enable_threads} in xyes | xdce) tmake_file="${tmake_file} pa/t-dce-thr" ;; esac install_headers_dir=install-headers-cpio use_collect2=yes ;;hppa1.0-*-hpux10*) tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux10.h" float_format=i128 xm_defines=POSIX tmake_file="pa/t-pa pa/t-pa-hpux pa/t-hpux-shlib" xmake_file="pa/x-ada" if test x$enable_threads = x; then enable_threads=$have_pthread_h fi case x${enable_threads} in xyes | xdce) tmake_file="${tmake_file} pa/t-dce-thr" ;; esac install_headers_dir=install-headers-cpio use_collect2=yes ;;hppa*64*-*-hpux11*) xm_defines=POSIX tm_file="pa/pa64-start.h ${tm_file} pa/pa64-regs.h pa/long_double.h pa/elf.h pa/pa-hpux.h pa/pa-hpux11.h pa/pa-64.h pa/pa64-hpux.h" float_format=i128 tmake_file="pa/t-pa64 pa/t-pa-hpux" xmake_file="pa/x-ada" target_cpu_default="(MASK_PA_11|MASK_PA_20|MASK_GAS)"# if [ x$enable_threads = x ]; then# enable_threads=$have_pthread_h# fi# if [ x$enable_threads = xyes ]; then# thread_file='dce'# tmake_file="${tmake_file} pa/t-dce-thr"# fi install_headers_dir=install-headers-cpio use_collect2=yes ;;hppa1.1-*-hpux11* | hppa2*-*-hpux11*) target_cpu_default="MASK_PA_11" tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-hpux.h pa/pa-hpux11.h" float_format=i128
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -