On Sat, Feb 26, 2005 at 10:32:11PM +0800, Dmitry Timoshkov wrote:
"Krzysztof Foltman" kfoltman@portal.onet.pl wrote:
Is there any reason for gcc 3.3.1 to spend several minutes on compiling dlls/oleaut32/tests/vartest.c ?
I guess it can be explained by optimization stage going nuts on compiling long functions with many branches (contained in the macros), but there must be a way to speed this up.
It's barely tolerable now, and upgrading gcc is not an option for everyone.
Well, I'd argue that compilation time of full Wine tree is much longer than that single test. If you compile from source it's your choice.
I wonder why you don't complain about programs/winetest linking times.
Even more drastic route to go is to go and complain to gcc people, that's certainly not a Wine fault.
well, 25 minutes for a single file and 25 minutes for the rest of the tree? :)
gcc4 fares better for this test already.
I personally change dlls/oleaut32/tests/Makefile to use -O1 after reconfigure.
Ciao, Marcus