project-navigation
Personal tools

Author Topic: [MAKE] on Windows  (Read 7214 times)

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
[MAKE] on Windows
« on: March 01, 2014, 02:56:57 pm »
Ufoai has a well maintained makefile. Unfortunately, running MAKE in Msys on Windows is ungodly slow.
On my i7 it takes about a minute to 'think' before starting the first compile ==> unusable.
As a consequence we have to use C::B's built-in 'make' and thus have to maintain a second project file.

Googling for "make windows slow" yields a gazillion of hits ... of the wrong kind ;)

So if anybody knows a way to use a portable makefile like ours on windows, let us know.
Even a better idea for google keywords would be appreciated.

Offline Grug

  • Rookie
  • ***
  • Posts: 56
    • View Profile
Re: [MAKE] on Windows
« Reply #1 on: March 02, 2014, 03:17:21 am »
Googling "msys make slow" gives lots of results that look relevant. The first couple are StackOverflow questions and the general consensus is that running an emulator on Windows will always be slow. One provided option is to try "make -r" which ignores implicit rules and hence stops checking for a million extra files that don't exist.

Hopefully that helps.

Offline Duke

  • Administrator
  • PHALANX veteran
  • *****
  • Posts: 1037
    • View Profile
Re: [MAKE] on Windows
« Reply #2 on: March 02, 2014, 05:26:22 am »
Hey, what a difference ! -r reduces from 35sec wait to 0sec.
That gives us a bunch of new opportunities...
Thanks a lot, Grug :)