Unixlib rebuild speedup

Nick Burrett nick at dsvr.net
Wed Oct 9 04:15:30 PDT 2002


Peter Naulls wrote:
> 
> If a single object file in unixlib is changed, the rebuild can be quite
> lengthy, as every object is reinserted in the the library.
> 
> Changing the rule to:
> 
> 	$(CROSS_AR) -i $@ $?
> 
> From the large number of $(CROSS_AR) ... rules will substantially
> decrease the rebuild time.
> 
> However, this brings back the problem with cygwin.  Anyone want to work
> out a better way to do this?

Wildcards.


-- 
Nick Burrett
Development Manager, Designer Servers Ltd.   http://www.dsvr.co.uk




More information about the gcc mailing list