Re: [ccache] Could ccache handle the input as .o file as well as source file.

2011-03-20 Thread Joel Rosdahl
On 2011-03-15 04:17, xiaoxiao wrote: > Have anyone ever considered to build up a mapping between .o file and > its output? If so, why ccache did not provide such feature. If not, do > you think it is a reasonable feature for ccache to reduce the time for > linking in a compilation? It would certai

Re: [ccache] Could ccache handle the input as .o file as well as source file.

2011-03-14 Thread Mike Frysinger
On Mon, Mar 14, 2011 at 23:56, xiaoxiao wrote: > 于 2011/3/15 11:33, Mike Frysinger 写道: >> try switching to gold > > Sorry, but what do you mean? please dont top post get latest binutils and use `ld.gold` instead of just `ld`. there is also some gcc flag to control which one is invoked, but i for

Re: [ccache] Could ccache handle the input as .o file as well as source file.

2011-03-14 Thread xiaoxiao
于 2011/3/15 11:33, Mike Frysinger 写道: Sorry, but what do you mean? Sean On Mon, Mar 14, 2011 at 23:17, xiaoxiao wrote: I've been using ccache recently, in order to decline the compilation time for a certain module. In this module, with the help of the greatest ccache, the time could be shorte

Re: [ccache] Could ccache handle the input as .o file as well as source file.

2011-03-14 Thread Mike Frysinger
On Mon, Mar 14, 2011 at 23:17, xiaoxiao wrote: > I've been using ccache recently, in order to decline the compilation > time for a certain module. In this module, with the help of the greatest > ccache, the time could be shorten to 5 mins from 40 mins without any > modification. However, even if th

[ccache] Could ccache handle the input as .o file as well as source file.

2011-03-14 Thread xiaoxiao
Hi: I've been using ccache recently, in order to decline the compilation time for a certain module. In this module, with the help of the greatest ccache, the time could be shorten to 5 mins from 40 mins without any modification. However, even if the output of all the source files are cached, we hav