MinGW Make is Slow
Friday, April 16th, 2010I was having troubles building Onlink under MinGW, because ‘make’ was so horrendously slow. I wondered if this was possibly because of the GNU Make implicit pre-defined rules. Disabling them helps tremendously, even with a dry run:
tycho@alcarin ~/Development/onlink/uplink/src $ time make -n > /dev/null
real 0m19.124s
user 0m4.506s
sys 0m13.720s
tycho@alcarin ~/Development/onlink/uplink/src $ time make -r -n > /dev/null
real 0m5.432s
user 0m1.731s
sys 0m2.930s
So if your GNU Make is slow under MinGW, try ‘make -r’!


