On 4/27/2014 3:36 PM, Lasconic wrote: > Unfortunately, the "the best possible environment to work" with the > master code is not Windows. The mingw gcc compiler has a bug with > large precompiled header and we had to disable them. It takes a lot of > time to build MuseScore on Windows currently and it's not really > pleasant to wait during the debugging process. We are trying different > ways to solve this issue and any help is welcome.
I really wish I had done some controlled tests back when this was possible, but my sense is, solving the pre-compiled header issue won't make *that* big a difference. "Most" builds while in the debug loop will recompile only one or two files. In those cases, most of the time (~5 minutes on my system) is spent waiting for the linker, which will still be slow with or without PCH. And when full recompiles are needed, it *still* took the better part of an hour even before we disabled PCH (although a "partial" rebuild - change to header file only, nothing that requires a "make clean" - might have been more like a half hour; I don't recall for sure). To be sure, it's slower still without PCH, but you're still *much* better off on Linux or Mac than on Windows even with working PCH. From what I've discovered in searching around, the issue seems to be grossly inefficient filesystem management on Windows - although this still boggles my mind, because I have a hard time accepting that C++ compilation would be an I/O-bound task, PCH or no PCH. Carl, one thing you might want to try that could be of some value is seeing if you can get a build going using the Microsoft compiler & tools rather than gcc, to see if it makes a difference. It would take some work I'm sure, but could provide enlightening. Marc ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Mscore-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mscore-developer
