📄 00000011.htm
字号:
option when you want to use a non-GNU linker, which <BR> also requires using the collect2 program to make <BR> sure the system linker includes constructors and <BR> destructors. (collect2 is included in the GNU CC <BR> distribution.) For systems which must use col- <BR> lect2, the compiler driver gcc is configured to do <BR> this automatically. <BR> <BR> -finhibit-size-directive <BR> Don't output a .size assembler directive, or any- <BR> thing else that would cause trouble if the function <BR> is split in the middle, and the two halves are <BR> placed at locations far apart in memory. This op- <BR> tion is used when compiling `crtstuff.c'; you <BR> should not need to use it for anything else. <BR> <BR> -fverbose-asm <BR> Put extra commentary information in the generated <BR> assembly code to make it more readable. This op- <BR> tion is generally only of use to those who actually <BR> need to read the generated assembly code (perhaps <BR> while debugging the compiler itself). <BR> <BR> -fvolatile <BR> Consider all memory references through pointers to <BR> be volatile. <BR> <BR> -fvolatile-global <BR> Consider all memory references to extern and global <BR> data items to be volatile. <BR> <BR> -fpic If supported for the target machines, generate po- <BR> sition-independent code, suitable for use in a <BR> shared library. <BR> <BR> -fPIC If supported for the target machine, emit position- <BR> independent code, suitable for dynamic linking, <BR> even if branches need large displacements. <BR> <BR> -ffixed-reg <BR> Treat the register named reg as a fixed register; <BR> generated code should never refer to it (except <BR> perhaps as a stack pointer, frame pointer or in <BR> some other fixed role). <BR> <BR> reg must be the name of a register. The register <BR> names accepted are machine-specific and are defined <BR> in the REGISTER_NAMES macro in the machine descrip- <BR> tion macro file. <BR> <BR> This flag does not have a negative form, because it <BR> specifies a three-way choice. <BR> <BR> -fcall-used-reg <BR> Treat the register named reg as an allocatable reg- <BR> ister that is clobbered by function calls. It may <BR> be allocated for temporaries or variables that do <BR> not live across a call. Functions compiled this <BR> way will not save and restore the register reg. <BR> <BR> Use of this flag for a register that has a fixed <BR> pervasive role in the machine's execution model, <BR> such as the stack pointer or frame pointer, will <BR> produce disastrous results. <BR> <BR> This flag does not have a negative form, because it <BR> specifies a three-way choice. <BR> <BR> -fcall-saved-reg <BR> Treat the register named reg as an allocatable reg- <BR> ister saved by functions. It may be allocated even <BR> for temporaries or variables that live across a <BR> call. Functions compiled this way will save and <BR> restore the register reg if they use it. <BR> <BR> Use of this flag for a register that has a fixed <BR> pervasive role in the machine's execution model, <BR> such as the stack pointer or frame pointer, will <BR> produce disastrous results. <BR> <BR> A different sort of disaster will result from the <BR> use of this flag for a register in which function <BR> values may be returned. <BR> <BR> This flag does not have a negative form, because it <BR> specifies a three-way choice. <BR><CENTER><H1>BBS水木清华站∶精华区</H1></CENTER></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -