On 01/10, Alastair Robinson wrote: > Anyway, I'm finding that on a 1GHz machine with GCC 3.2 and full > optimisations, it's taking me about ten minutes to recompile x11_window.c and > re-link xmame every time I make a change to blit.h.
If at link step, the "ld" process stay minutes without accessing the disk, is because "ld" is too aggressive trying to merge partial constant strings, and if the program has a lot of long constant strings, the algorithm degenerate. A workaround is to add "-fno-merge-constants" at your CFLAGS and recompile all the sources. With a 1GHz machine the link should take only a few seconds. For example to link AdvanceMAME on my 1.8 GHz machine it takes only 5 seconds. -- Andrea Mazzoleni 935A 2D3C 5C70 BCD6 CB0C ED89 7C19 4321 6340 3F6D _______________________________________________ Xmame mailing list [EMAIL PROTECTED] http://toybox.twisted.org.uk/mailman/listinfo/xmame