I set up code::blocks with MinGW on my computer the best I know how, and I tried to test it with a simple hello world program, but I got a messsage that says:
undefined reference to `__cpu_features_init'
I searched the issue on the internet and never found a clear solution.