generate code for 选择CPU --cpu list Output a list of all the selectable CPUs 输出所有被选中的CPU列表-o <file> Name the final output file of the compilation 最终输出文件的名字 -c Compile only, do not link 只进行编译,不链接 --asm Out
and you must also use it when linking.-pg Generate extra code to write profile information suitable for the analysis program gprof. You must use this option when compiling the source files you want data about,
-FA[sc] 配置程序集列表 configure assembly listing -Fp 命名预编译头文件 name precompiled header file -Fd[file] 命名 .PDB 文件 name .PDB file -Fr[file] 命名源浏览器文件 name source browser file -Fe 命名可执行文件 name executable file ...
输出文件 -Fa[file] 命名程序集列表文件 name assembly listing file -Fo 命名对象文件 name object file -FA[sc] 配置程序集列表 configure assembly listing -Fp 命名预编译头文件 name precompiled header file -Fd[file] 命名 .PDB 文件 name .PDB file -Fr[file] 命名源浏览器文件 name source browser f...
-FA[sc] 配置程序集列表 configure assembly listing -Fp 命名预编译头文件 name precompiled header file -Fd[file] 命名 .PDB 文件 name .PDB file -Fr[file] 命名源浏览器文件 name source browser file -Fe 命名可执行文件 name executable file ...
b1rodata*) } >FLASHB1 /* this is the EXTMEM */ /* the C or assembly source must explicitly place the code or data there using the "section" attribute */ /* EXTMEM Bank0 */ .eb0text : { *(.eb0text) /* remaining code */ *(.eb0rodata) /* read-only data (constants) *...
1. gcc -E source_file.c -E,只执行到预编译。直接输出预编译结果。 2. gcc -S source_file.c -S,只执行到源代码到汇编代码的转换,输出汇编代码。 3. gcc -c source_file.c -c,只执行到编译,输出目标文件。 4. gcc (-E/S/c/) source_file.c -o output_filename ...
(3)汇编(Assembly) 汇编将汇编代码转换为机器代码,即汇编器将 .s 文件中的汇编指令转换为二进制机器指令。 GCC使用参数 -c将代码转换为可重定位目标文件(Object File),得到一个中间文件,表示为test.o。 $ g++ -c test.s -o test.o (4)链接(Linking) ...
Unrecognized input files, not requiring compilation or assembly, are ignored. -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 ...
gcc,g++:GNU工程的C和C++编译器。C和C++编译器是集成的,他们都要用四个步骤中的一个或多个处理输入文件:预处理 (preprocessing),编译(compilation),汇编(assembly)和连接(linking)。GCCSection: GNU Tools (1) Updated: NAMEgcc, g++ - GNU 工程的 C 和 C++ 編譯器 (egcs-1.1.2) ...