-print-file-name=library 打印出链接时将用到的library的绝对路径,这样可以看看链接的是不是确实是自己想要的库文件。 -print-libgcc-file-name 打印出所使用的libgcc.a文件的路径,这个特别是在使用了-nostdlib或者-nodefaultlibs选项时有用。等价于-print-file-name=libgcc.a -print-search-dirs 打印出GCC安装路...
-print-libgcc-file-name 显示编译器伴随库的名称 -print-file-name=<库> 显示 <库> 的完整路径 -print-prog-name=<程序> 显示编译器组件 <程序> 的完整路径 -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path -print-multi-directory 显示不同版本 ...
-print-libgcc-file-name 和`-print-file-name=libgcc.a' 一樣. -print-prog-name=program 類似於 `-print-file-name', 但是 查找 程式 program 如 `cpp'. 優化選項 (OPTIMIZATION OPTION)這些選項 控制 多種 優化措施:-O -O1 優化. 對於 大函數, 優化編譯 佔用 稍微多 的 時間 和 相當大 的 記憶...
-p -pg -print-file-name=library -print-libgcc-file-name -print-multi-directory -print-multi-lib -print-multi-os-directory -print-prog-name=program -print-search-dirs -Q -print-sysroot -print-sysroot-headers-suffix -save-temps -save-temps=cwd -save-temps=obj -time[=file] Optimization ...
used in filesystem paths and specs. Depending on how the compiler has been configured it can be just a single number -dumpspecs Print the compiler's built-in specs---and don't do anything else. (This is used when GCC itself is being built.) ...
GCC 使用 `__stdcall` 编译一个 DLL。`__stdcall` 是一种调用约定,指示编译器在进行函数调用时传递参数从右到左。这使代码更易于理解和调试,因为编译器在生成可执行程序时将参数...
GCC 的话,你没法摆脱libgcc,就算你写没有任何外部库和系统调用的纯 C 代码,也会触发到 libgcc 的...
print-search-dirs Display the directoriesinthe compiler's search path15-print-libgcc-file-name Display the name of the compiler's companion library16-print-file-name=<lib> Display the full path to library <lib>17-print-prog-name=<prog> Display the full path to compiler component <prog>18-...
gcc_prog_ld=`$CC -print-prog-name=ld 2>&1` ;; esac case $gcc_prog_ld in # Accept absolute paths. [[\\/]* | [A-Za-z]:[\\/]*)] LD="$gcc_prog_ld" ;; esac fi fi # Check whether -static-libstdc++ -static-libgcc is supported. ...
OUTPUT_FORMAT('`gcc -m32 -Wl,--print-output-format -nostdlib -r -o /dev/null`') GROUP ( /lib/libgcc_s.so.1 libgcc.a )' > $FULLPATH/32/libgcc_s.so %else ln -sf /lib/libgcc_s.so.1 $FULLPATH/32/libgcc_s.so %endif %endif mv -f %{buildroot}%{_prefix}/%{_lib...