Compiling is really slow even with antivirus turned off


Compiling is really slow in all development environments I'm using. Mostly GCC for ARM and AVR. Creating (building) and deleting (cleaning) seems what is slowing the processes down. Simple projects takes many minutes to compile. Arduino projects, too, which I guess is GCC.


I've uninstalled F-Secure antivirus and disabled Windows Defender real-time scanning. I've run Windows Defender Offline scan to check for malware and other problems. Something is hogging the process still, and I'm seeing no improvement. How do I go about to find out with delays file-creation and deletion?


EDIT: Computer is fairly quick i7-5600U @ 2.60 GHz, 16GB ram and 64-bit Windows 10. While compiling there is not much physical memory or cpu used, almost nothing.

EDIT: This code takes 46 seconds to compile using AVR-GCC:


#undef F_CPU
#define F_CPU 3686400UL
#include <avr/io.h>
#include <util/delay.h>

int main(void) {
    DDRB = 0xFF;
    while(1) {
        PORTB ^= 0xFF;


This discussion has been closed.
Pricing & Product Info