1. 程式人生 > >arm-linux-androideabi-gcc 選項

arm-linux-androideabi-gcc 選項

[email protected]:/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=<lib>   Display the full path to library <lib>
  -print-prog-name=<prog>  Display the full path to compiler component <prog>
  -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,<options>            Pass comma-separated <options> on to the assembler
  -Wp,<options>            Pass comma-separated <options> on to the preprocessor
  -Wl,<options>            Pass comma-separated <options> on to the linker  逗號後頭是給linker聯結器的選項啊。

  -Xassembler <arg>        Pass <arg> on to the assembler
  -Xpreprocessor <arg>     Pass <arg> on to the preprocessor
  -Xlinker <arg>           Pass <arg> on to the linker
  -save-temps              Do not delete intermediate files
  -save-temps=<arg>        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=<file>            Override built-in specs with the contents of <file>
  -std=<standard>          Assume that the input sources are for <standard>
  --sysroot=<directory>    Use <directory> as the root directory for headers
                           and libraries

  -B <directory>           Add <directory> to 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 <file>                Place the output into <file>
  -pie                     Create a position independent executable
  -shared                  Create a shared library
  -x <language>            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 -W<letter> options must be used.


For bug reporting instructions, please see:
<http://source.android.com/source/report-bugs.html>.
[email protected]:/home/zhangbin/android/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin# 

相關推薦

arm-linux-androideabi-gcc 選項

[email protected]:/home/zhangbin/android/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin# ./arm-linux-androideabi-gcc --hel

arm-linux-androideabi-gcc 預定義巨集(編譯器版本4.8)

列印方法: touch test.c arm-linux-androideabi-gcc -E -dM -c test.c >> marco_arm.txt #define __DBL_MIN_EXP__ (-1021) #define __HQ_FBIT__

arm-linux-androideabi-gcc: Command not found

NDK-BUILD失敗,錯誤提示:make: ~/dev/android/ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command

【ndk】直接使用ndk提供的arm-linux-androideabi-gcc編譯android可執行程式

1、背景 經常使用linux交叉工具類的朋友都知道,在已安裝交叉編譯工具鏈後要交叉編譯得到linux可執行檔案只需要執行如下類似的命令(如編譯hello.c生成hello可執行檔案): arm-linux-gcc hello.c -o hellohello.c的程式碼非常

prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc問題解決

1. 現象: 編譯android4.4原始碼時,出現如下錯誤: /bin/bash: prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.7/bin/arm-linux-androideabi-gcc: 許可權不夠 /bin/bash: prebuilt

交叉編譯工具鏈-及arm-linux-androideabi-gcc編譯方法

一、編譯器:      就是將“高階語言”翻譯為“機器語言(低階語言)”的程式。一個現代編譯器的主要工作流程:原始碼 (source code) → 前處理器 (preprocessor) → 編譯器 (compiler) → 彙編程式 (assembler) →

arm-linux-androideabi——選項說明

[email protected]:/home/zhangbin/android/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin# ls arm-linux-androideabi-addr2lin

No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi

產生背景最近把Android Studio更新到3.0,更新之後出現了build錯誤:No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi,google了很多方法,總結一下這些坑

NDK 編譯報錯arm-linux-androideabi-g++: error: CreateProcess: No such file or directory

Android編譯工程時提示:arm-linux-androideabi-g++: error: CreateProcess: No such file or directory錯誤。 解決方法: 步驟1:  Android.mk 檔案修改, LOCAL_SHORT_C

如何使用arm-linux-androideabi-addr2line

有兩種方法可以分析 crash 的堆疊資訊 1 google提供了一個python指令碼,可以從 http://code.google.com/p/android-ndk-stacktrace-analyzer/ 下載這個python指令碼,然後使用 adb logcat -d > logfile 匯

arm-linux-androideabi-**工具

arm-linux-androideabi-as 下載Android ndk,裡邊有arm-linux-androideabi-as,arm下的彙編器,自己寫上彙編碼,執行一下就可以列出機器碼了.

arm-linux-androideabi-ld.exe 編譯錯誤的問題

導致錯誤的原因是 TOOLS->OPCTIONS->SDK MANAGER中 NDK中 delphi ndk library path路徑有錯誤,可能是你重新裝過delphi安裝路徑改變了,這裡的路徑還是第一次安裝的路徑導致錯誤  ,這裡改為正確的安裝路徑下的

重新編譯arm-linux-androideabi-gdb和gdbserver

一、引言          Android應用程式在執行的時候,不管是dex還是native的so,都要載入到記憶體裡面,所以直接把與之對應的記憶體dump出來分析是一個不錯的主意,ndk給我們提供了可供開發者遠端除錯的gdb和gdbserver,但是一些功能比如gcore

arm-linux-androideabi-ld options

[email protected]:/home/zhangbin/android/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin# ls arm-linux-androideabi-addr2li

arm-linux-gnueabihf-gcc下載

轉自:http://www.veryarm.com/arm-linux-gnueabihf-gcc arm-linux-gnueabihf-gcc是由 Linaro 公司基於GCC推出的的ARM交叉編譯工具。可用於交叉編譯ARM系統中所有環節的程式碼,包括裸機程式、u-

arm-linux-gcc環境搭建

over asp gpg linux 4.4 mkdir isp play gin 安裝libncurses5-dev 使用apt-get安裝apt-get install libncurses5-dev 安裝arm-linux-gcc 參考:Ubuntu 12.0

arm-linux-gcc常用參數講解 gcc編譯器使用方法

傳遞 stat 插入 pic 排錯 編譯 process 引號 符號表 為了查找方便,從一路前行搬過來 我們需要編譯出運行在ARM平臺上的代碼,所使用的交叉編譯器為 arm-linux-gcc。下面將arm-linux-gcc編譯工具的一些常用命令參數介紹給大家。在此之前

在Ubuntu上安裝arm-linux-gcc的問題

編譯 根據 blog ima linux bash ubun 不能編譯 部分 由於之前將Ubuntu的更新關掉了,所以導致我下載32位兼容包一直出錯。 在arm-linux-gcc 安裝之後,還不能編譯程序的話,首先看自己的系統是多少位的,因為網上大部分的安裝包都是32位

[Mini2440 - 008] 安裝 arm-linux-gcc 交叉編譯器

加載 pan bz2 bash 單個 ubun 提示 owb 下載 一、相關資料獲取   我個人在學習 mini2440 開發板時是跟著韋東山老師的第一期視頻學習的,視頻和資料我稍作修改了一下,只是改變了一下文件組織結構。資料獲取請訪問百度雲鏈接。   鏈接:http://

Ubuntu 編譯 ARM-Linux-Gcc 工具鏈 -- 通過crosstool-NG制作工具鏈

rac export 項目 isa 查看 col pat ftp 芯片 1.手動下載制作過程中所需要的包,節省時間 所用包如下(不同版本所有包版本有所不同) libtool-2.4.6 linux-3.2.87 gmp-6.1.2 mpfr-3.1.5 i