我眼中的大S和小S
October 13, 2004
740)this.width=740″ border=undefined>
-S Stop after the stage of compilation proper; do not assemble. The output is in the form of an assembler code file for each non-assembler input file specified.
By default, the assembler file name for a source file is made by replacing the suffix .c, .i, etc., with .s.
Input files that don’t require compilation are ignored.
– [ GCC 3.4.2 Manual, 3.2 Options Controlling the Kind of Output ]
-s Remove all symbol table and relocation information from the executable.
– [ GCC 3.4.2 Manual, 3.13 Options for Linking ]
Copyright (C) Free Software Foundation, Inc., 59 Temple Place – Suite 330, Boston, MA 02111, USA.
————————————————
740)this.width=740″ border=undefined>
-S This option writes a listing of the assembly language generated by the compiler to a file. However, unlike the -asm option, object modules are not generated. The name of the assembly output file defaults to file.s in the current directory, where file.c is the name of the source file stripped of any leading directory names. The default file name can be overridden with the -o option.
– [ ARM Developer Suite Version 1.2: Compilers and Libraries Guide, 2.3.6 Specifying output format ]
-s This option is synonymous with the -S option in compilation process. What? linking?… I’ve no idea…
– [ zhou ]
Copyright 1999-2001 ARM Limited.
Copyleft 2004-2046 zhou
Tags: BabyBus