root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3#
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3# /home/zhangbin/android/android-toolchain/r9-4.8/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=
-print-prog-name=
-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,
-Wp,
-Wl,
-Xassembler
-Xpreprocessor
-Xlinker
-save-temps Do not delete intermediate files
-save-temps=
-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=
-std=
--sysroot=
and libraries
-B
-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 -E仅仅需要预编译,但是不要编译、汇编或者链接。
-S Compile only; do not assemble or link -S只是编译,不要汇编或者链接
-c Compile and assemble, but do not link -c编译 编译并且汇编,但是不要链接
-o
-pie Create a position independent executable -pie创建一个位置无关的可执行程序
-shared Create a shared library 创建一个共享库
-x
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 -W
For bug reporting instructions, please see:
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3#
#
===============================================================================================================
#
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3# /home/zhangbin/android/android-toolchain/r9-4.8/bin/arm-linux-androideabi-gcc -print-sysroot-headers-suffix
arm-linux-androideabi-gcc: fatal error: not configured with sysroot headers suffix
compilation terminated.
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3#
===============================================================================================================
Display the target libraries directory
显示目标库的路径
/home/zhangbin/android/android-toolchain/r9-4.8/bin/arm-linux-androideabi-gcc -print-sysroot
/home/zhangbin/android/android-toolchain/r9-4.8/bin/../sysroot
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3#
===============================================================================================================
当前路径啊
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3#
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3# /home/zhangbin/android/android-toolchain/r9-4.8/bin/arm-linux-androideabi-gcc -print-multi-os-directory
.
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3#
===============================================================================================================
Display the compiler's target processor 计算机的目标处理器
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3# /home/zhangbin/android/android-toolchain/r9-4.8/bin/arm-linux-androideabi-gcc -dumpmachine
arm-linux-androideabi
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3#
==============================================================================================
Display the mapping between command line options and
multiple library search directories 命令行选项和多个库的搜寻路径的映射
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3# /home/zhangbin/android/android-toolchain/r9-4.8/bin/arm-linux-androideabi-gcc -print-multi-lib
.;
armv7-a;@march=armv7-a
thumb;@mthumb
armv7-a/thumb;@march=armv7-a@mthumb
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3#
==============================================================================================
在计算机中的搜寻路径
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3# /home/zhangbin/android/android-toolchain/r9-4.8/bin/arm-linux-androideabi-gcc -print-search-dirs
install: /home/zhangbin/android/android-toolchain/r9-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/
programs: =/home/zhangbin/android/android-toolchain/r9-4.8/bin/../libexec/gcc/arm-linux-androideabi/4.8/:/home/zhangbin/android/android-toolchain/r9-4.8/bin/../libexec/gcc/:/home/zhangbin/android/android-toolchain/r9-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/arm-linux-androideabi/4.8/:/home/zhangbin/android/android-toolchain/r9-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/
libraries: =/home/zhangbin/android/android-toolchain/r9-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/:/home/zhangbin/android/android-toolchain/r9-4.8/bin/../lib/gcc/:/home/zhangbin/android/android-toolchain/r9-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib/arm-linux-androideabi/4.8/:/home/zhangbin/android/android-toolchain/r9-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/lib/:/home/zhangbin/android/android-toolchain/r9-4.8/bin/../sysroot/lib/arm-linux-androideabi/4.8/:/home/zhangbin/android/android-toolchain/r9-4.8/bin/../sysroot/lib/:/home/zhangbin/android/android-toolchain/r9-4.8/bin/../sysroot/usr/lib/arm-linux-androideabi/4.8/:/home/zhangbin/android/android-toolchain/r9-4.8/bin/../sysroot/usr/lib/
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3#
==============================================================================================
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3# /home/zhangbin/android/android-toolchain/r9-4.8/bin/arm-linux-androideabi-gcc -print-libgcc-file-name
/home/zhangbin/android/android-toolchain/r9-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/libgcc.a
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3#
==============================================================================================
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3# /home/zhangbin/android/android-toolchain/r9-4.8/bin/arm-linux-androideabi-gcc -print-multiarch
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3#
这是当前路径啊
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3# /home/zhangbin/android/android-toolchain/r9-4.8/bin/arm-linux-androideabi-gcc -print-multi-directory
.
root@Ubuntu32:/home/zhangbin/gstreamer/portglibtoandroid/glibwork/glib-2.34.3#