I\'m new to the field of microcontrollers. I need to port an IDE which is compiling programs for AVR microcontrollers to compile programs for ARM microcontrollers. I have ju
I had the same problem. The solution was as follows:
-ffreestanding -flto
-flto -ffreestanding -nostdlib