您当前的位置: 首页 >  ar

arm-linux-androideabi-gcc 选项

发布时间:2013-09-01 18:07:08 ,浏览量:0

root@Ubuntu32:/home/zhangbin/android/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin# ./arm-linux-androideabi-gcc --help Usage: arm-linux-androideabi-gcc [options] file... Options:   -pass-exit-codes         Exit with highest error code from a phase   --help                   Display this information   --target-help            Display target specific command line options   --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...]                            Display specific types of command line options   (Use '-v --help' to display command line options of sub-processes)   --version                Display compiler version information   -dumpspecs               Display all of the built in spec strings   -dumpversion             Display the version of the compiler   -dumpmachine             Display the compiler's target processor   -print-search-dirs       Display the directories in the compiler's search path   -print-libgcc-file-name  Display the name of the compiler's companion library   -print-file-name=  Display the full path to library   -print-prog-name= Display the full path to compiler component   -print-multiarch         Display the target's normalized GNU triplet, used as                            a component in the library path   -print-multi-directory   Display the root directory for versions of libgcc   -print-multi-lib         Display the mapping between command line options and                            multiple library search directories   -print-multi-os-directory Display the relative path to OS libraries   -print-sysroot           Display the target libraries directory   -print-sysroot-headers-suffix Display the sysroot suffix used to find headers   -Wa,           Pass comma-separatedon to the assembler   -Wp,           Pass comma-separatedon to the preprocessor   -Wl,           Pass comma-separatedon to the linker  逗号后头是给linker连接器的选项啊。   -Xassembler       Passon to the assembler   -Xpreprocessor    Passon to the preprocessor   -Xlinker          Passon to the linker   -save-temps              Do not delete intermediate files   -save-temps=       Do not delete intermediate files   -no-canonical-prefixes   Do not canonicalize paths when building relative                            prefixes to other gcc components   -pipe                    Use pipes rather than intermediate files   -time                    Time the execution of each subprocess   -specs=           Override built-in specs with the contents of   -std=         Assume that the input sources are for   --sysroot=   Useas the root directory for headers                            and libraries   -B          Addto the compiler's search paths   -v                       Display the programs invoked by the compiler   -###                     Like -v but options quoted and commands not executed   -E                       Preprocess only; do not compile, assemble or link   -S                       Compile only; do not assemble or link   -c                       Compile and assemble, but do not link   -o               Place the output into   -pie                     Create a position independent executable   -shared                  Create a shared library   -x           Specify the language of the following input files                            Permissible languages include: c c++ assembler none                            'none' means revert to the default behavior of                            guessing the language based on the file's extension Options starting with -g, -f, -m, -O, -W, or --param are automatically  passed on to the various sub-processes invoked by arm-linux-androideabi-gcc.  In order to pass  other options on to these processes the -Woptions must be used. For bug reporting instructions, please see: . root@Ubuntu32:/home/zhangbin/android/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin# 
关注
打赏
1688896170
查看更多评论

暂无认证

  • 0浏览

    0关注

    114465博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录

0.0868s