Guest User

gcc -dumpspecs

a guest
Jul 30th, 2013
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.14 KB | None | 0 0
  1. *asm:
  2. %{m32:--32} %{!m32:--64} %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}
  3.  
  4. *asm_debug:
  5. %{!g0:%{gstabs*:--gstabs}%{!gstabs*:%{g*:--gdwarf2}}} %{fdebug-prefix-map=*:--debug-prefix-map %*}
  6.  
  7. *asm_final:
  8.  
  9.  
  10. *asm_options:
  11. %{-target-help:%:print-asm-header()} %a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}
  12.  
  13. *invoke_as:
  14. %{!fwpa: %{fcompare-debug=*|fdump-final-insns=*:%:compare-debug-dump-opt()} %{!S:-o %|.s |
  15. as %(asm_options) %m.s %A } }
  16.  
  17. *cpp:
  18. %{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}
  19.  
  20. *cpp_options:
  21. %(cpp_unique_options) %1 %{m*} %{std*&ansi&trigraphs} %{W*&pedantic*} %{w} %{f*} %{g*:%{!g0:%{g*} %{!fno-working-directory:-fworking-directory}}} %{O*} %{undef} %{save-temps*:-fpch-preprocess} %(esp_cpp_options)
  22.  
  23. *cpp_debug_options:
  24. %{d*}
  25.  
  26. *cpp_unique_options:
  27. %{!Q:-quiet} %{nostdinc*} %{C} %{CC} %{v} %{I*&F*} %{P} %I %{MD:-MD %{!o:%b.d}%{o*:%.d%*}} %{MMD:-MMD %{!o:%b.d}%{o*:%.d%*}} %{M} %{MM} %{MF*} %{MG} %{MP} %{MQ*} %{MT*} %{!E:%{!M:%{!MM:%{!MT:%{!MQ:%{MD|MMD:%{o*:-MQ %*}}}}}}} %{remap} %{g3|ggdb3|gstabs3|gcoff3|gxcoff3|gvms3:-dD} %{!iplugindir*:%{fplugin*:%:find-plugindir()}} %{H} %C %{D*&U*&A*} %{i*} %Z %i %{fmudflap:-D_MUDFLAP -include mf-runtime.h} %{fmudflapth:-D_MUDFLAP -D_MUDFLAPTH -include mf-runtime.h} %{E|M|MM:%W{o*}}
  28.  
  29. *trad_capable_cpp:
  30. cc1 -E %{traditional|traditional-cpp:-traditional-cpp}
  31.  
  32. *cc1:
  33. %(cc1_cpu) %{profile:-p}
  34.  
  35. *cc1_options:
  36. %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}} %{!iplugindir*:%{fplugin*:%:find-plugindir()}} %1 %{!Q:-quiet} %{!dumpbase:-dumpbase %B} %{d*} %{m*} %{aux-info*} %{fcompare-debug-second:%:compare-debug-auxbase-opt(%b)} %{!fcompare-debug-second:%{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}}%{!c:%{!S:-auxbase %b}} %{g*} %{O*} %{W*&pedantic*} %{w} %{std*&ansi&trigraphs} %{v:-version} %{pg:-p} %{p} %{f*} %{undef} %{Qn:-fno-ident} %{Qy:} %{-help:--help} %{-target-help:--target-help} %{-version:--version} %{-help=*:--help=%*} %{!fsyntax-only:%{S:%W{o*}%{!o*:-o %b.s}}} %{fsyntax-only:-o %j} %{-param*} %{fmudflap|fmudflapth:-fno-builtin -fno-merge-constants} %{coverage:-fprofile-arcs -ftest-coverage}
  37.  
  38. *cc1plus:
  39.  
  40.  
  41. *link_gcc_c_sequence:
  42. %{static:--start-group} %G %L %{static:--end-group}%{!static:%G}
  43.  
  44. *link_ssp:
  45. %{fstack-protector:}
  46.  
  47. *endfile:
  48. %{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} %{mpc32:crtprec32.o%s} %{mpc64:crtprec64.o%s} %{mpc80:crtprec80.o%s} %{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s
  49.  
  50. *link:
  51. %{!static:--eh-frame-hdr} %{!m32:-m elf_x86_64} %{m32:-m elf_i386} %{shared:-shared} %{!shared: %{!static: %{rdynamic:-export-dynamic} %{m32:-dynamic-linker %{muclibc:/lib/ld-uClibc.so.0;:%{mbionic:/system/bin/linker;:/lib/ld-linux.so.2}}} %{!m32:-dynamic-linker %{muclibc:/lib/ld64-uClibc.so.0;:%{mbionic:/system/bin/linker64;:/lib64/ld-linux-x86-64.so.2}}}} %{static:-static}}
  52.  
  53. *lib:
  54. %{pthread:-lpthread} %{shared:-lc} %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}
  55.  
  56. *mfwrap:
  57. %{static: %{fmudflap|fmudflapth: --wrap=malloc --wrap=free --wrap=calloc --wrap=realloc --wrap=mmap --wrap=munmap --wrap=alloca} %{fmudflapth: --wrap=pthread_create}} %{fmudflap|fmudflapth: --wrap=main}
  58.  
  59. *mflib:
  60. %{fmudflap|fmudflapth: -export-dynamic}
  61.  
  62. *link_gomp:
  63.  
  64.  
  65. *libgcc:
  66. %{static|static-libgcc:-lgcc -lgcc_eh}%{!static:%{!static-libgcc:%{!shared-libgcc:-lgcc --as-needed -lgcc_s --no-as-needed}%{shared-libgcc:-lgcc_s%{!shared: -lgcc}}}}
  67.  
  68. *startfile:
  69. %{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}
  70.  
  71. *cross_compile:
  72. 0
  73.  
  74. *version:
  75. 4.6.3
  76.  
  77. *multilib:
  78. . !m64 !m32;64:../lib64 m64 !m32;32:../lib32 !m64 m32;
  79.  
  80. *multilib_defaults:
  81. m64
  82.  
  83. *multilib_extra:
  84.  
  85. *multilib_matches:
  86. m64 m64;m32 m32;
  87.  
  88. *multilib_exclusions:
  89.  
  90.  
  91. *multilib_options:
  92. m64/m32
  93.  
  94. *linker:
  95. collect2
  96.  
  97. *linker_plugin_file:
  98.  
  99.  
  100. *lto_wrapper:
  101.  
  102.  
  103. *lto_gcc:
  104.  
  105.  
  106. *link_libgcc:
  107. %D
  108.  
  109. *md_exec_prefix:
  110.  
  111.  
  112. *md_startfile_prefix:
  113.  
  114.  
  115. *md_startfile_prefix_1:
  116.  
  117.  
  118. *startfile_prefix_spec:
  119.  
  120.  
  121. *sysroot_spec:
  122. --sysroot=%R
  123.  
  124. *sysroot_suffix_spec:
  125.  
  126.  
  127. *sysroot_hdrs_suffix_spec:
  128.  
  129.  
  130. *esp_options:
  131.  
  132. *esp_cpp_options:
  133.  
  134.  
  135. *cc1_cpu:
  136. %{march=native:%>march=native %:local_cpu_detect(arch) %{!mtune=*:%>mtune=native %:local_cpu_detect(tune)}} %{mtune=native:%>mtune=native %:local_cpu_detect(tune)}
  137.  
  138. *link_command:
  139. %{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S: %(linker) %{fuse-linker-plugin: -plugin %(linker_plugin_file) -plugin-opt=%(lto_wrapper) -plugin-opt=-fresolution=%u.res %{!nostdlib:%{!nodefaultlibs:%:pass-through-libs(%(link_gcc_c_sequence))}} } %{flto|flto=*:%<fcompare-debug*} %{flto} %{flto=*} %l %{pie:-pie} %X %{o*} %{e*} %{N} %{n} %{r} %{s} %{t} %{u*} %{z} %{Z} %{!nostdlib:%{!nostartfiles:%S}} %{static:} %{L*} %(mfwrap) %(link_libgcc) %o %{fopenmp|ftree-parallelize-loops=*:%:include(libgomp.spec)%(link_gomp)} %(mflib) %{fsplit-stack: --wrap=pthread_create} %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} %{!nostdlib:%{!nodefaultlibs:%(link_ssp) %(link_gcc_c_sequence)}} %{!nostdlib:%{!nostartfiles:%E}} %{T*} }}}}}}
Add Comment
Please, Sign In to add comment