| 1、armcc:
C:\>armcc -help ARM C Compiler, ADS1.2 [Build 805] Software supplied by: Team-EFA
Usage: armcc [options] file1 file2 ... filen Main options:
-c Do not link the files being compiled -C Prevent the preprocessor from removing comments (Use with -E) -D<symbol> Define <symbol> on entry to the compiler -E Preprocess the C source code only -f<options> Enable a selection of compiler defined features -g<options> Generate tables for high-level debugging -I<directory> Include <directory> on the #i nclude search path -J<directory> Replace the default #i nclude path with <directory> -o<file> Name the file that holds the final output of the compilation -O0 Minimum optimization -O1 Restricted optimization for debugging -O2 Maximum optimization -S Output assembly code instead of object code -U<symbol> Undefine <symbol> on entry to the compiler -W<options> Disable all or selected warning messages
2、armsd:
C:\>armsd -exec __image.axf
This command informs the debugger to execute the image and then terminate.
3、armlink:
C:\>armlink -help ARM Linker, ADS1.2 [Build 805]
Usage: armlink option-list input-file-list
where
option-list is a list of case-insensitive options. input-file-list is a list of input object and library files.
Main options (abbreviations shown capitalised):
General options:
-Help Print this summary. -Output file Specify the name of the output file.
Options for specifying memory map information:
-partial Generate a partially linked object. -scatter file Create the memory map as described in file. -ro-base n Set exec addr of region containing RO sections. -rw-base n Set exec addr of region containing RW/ZI sections.
Software supplied by: Team-EFA
4、fromelf:
C:\>fromelf -help ARM FromELF, ADS1.2 [Build 805]
ARM Executable ELF file translator fromelf [options] input_file
Options: -Help display this help screen -vsn display version information -output file the output file. (defaults to stdout for -text format) -nodebug do not put debug areas in the output image -nolinkview do not put sections in the output image
Binary Output Formats: -bin Plain Binary -m32 Motorola 32 bit Hex -i32 Intel 32 bit Hex -ihf Intellec Hex -vhx Byte Oriented Hex format
-base <addr> Optionally set base address for m32,i32,ihf
Other Output Formats: -elf ELF -text Text Information
Output Formats Requiring Debug Information -fieldoffsets Assembly Language Description of Structures/Classes
Flags for Text Information -v verbose -a print data addresses (For images built with debug) -c disassemble code -d print contents of data section -g print debug tables -r print relocation information -s print symbol table -t print string table -y print dynamic segment contents -z print code and data size information Software supplied by: Team-EFA |