Arduino 1.8.5 compilation error

The Marlin Firmware compilation appears with the following error: fork / exec C: \ arduino-1.8.5 \ hardware \ tools \ avr / bin / avr-gcc.exe: The file name or extension is too long. What should i do to fix?

Try updating to Arduino IDE 1.8.9. I think the fix for that problem was made after the Arduino IDE 1.8.5 release.

I think that’s the same bug that was impacting ATTinyCore with all the new menu options.

If it is, that was fixed in 1.8.6.