这告诉编译器生成位置无关代码。
This tells the compiler to generate position-independent code.
将dll编译为位置无关代码。
位置无关可执行程序(PIE)含有位置无关代码,有点像动态库,因此启动时这些代码会被随机加载到一个地址上。
Position independent executables (PIE) contain position independent code similar to the Shared libraries and therefore such executables get loaded at a randomly chosen address upon startup.
这可能对于调用者(因为第一个Widget意外地移动了)和Widget类(因为它的位置改变了,而与Widget代码无关)来说都会产生混淆。
This may well be confusing both to the caller (because the first Widget got moved unexpectedly) and to the Widget class (because its location changed without the Widget code being involved).
这可能对于调用者(因为第一个Widget意外地移动了)和Widget类(因为它的位置改变了,而与Widget代码无关)来说都会产生混淆。
This may well be confusing both to the caller (because the first Widget got moved unexpectedly) and to the Widget class (because its location changed without the Widget code being involved).
应用推荐