AVR linker error, “relocation truncated to fit”
问题 I'm trying to compile some code for an ATmega328 micro, and I want use the libraries and the core of Arduino. I'm using CMake. I have gotten to compile the core library and all objects of my code and the libraries of Arduino. But when it's linking, they show me the following error. ..."relocation truncated to fit: R_AVR_13_PCREL against symbol"..."avr5/libgcc.a"... I have found through Google that this is a common error, but no solution has worked for me. The only thing I can't do is put "-lm