rt,lz 在使用 ide 时遇见了 ld 问题,具体报错信息为:
No valid executable file was produced by the compiler
./ccVi599U.o: in function `__static_initialization_and_destruction_0(int, int)':
src:(.text+0x5ec): relocation truncated to fit: R_X86_64_PC32 against `.bss'
src:(.text+0x605): relocation truncated to fit: R_X86_64_PC32 against `.bss'
collect2: 错误:ld 返回 1
代码贴 2 楼。