[ccache] repost - caching linker output?

sean finney seanius at seanius.net
Thu Mar 22 17:34:04 GMT 2007

hrm, looks like the mlm stripped out the attachment to the last mail, so
here's the previous mail cutnpasted into the message body:

hi there,

recently i was having a discussion regarding ccache with a co-worker, in
the context of how derived objects could be cached to speed up a build
process.  the question came up: could a similar generalization be used
for linked executables (thus wrapping ld along with cc)?

for object files, you have the source file, included headers, compiler
command-line, and compiler which are all considered dependencies for the
derived object.  

couldn't it be possible to do the same trick for linked executables?
for example, when linking, the hash could be computed from the object
files being linked along with the standard stuff (cmdline args, compiler
information, etc).

what do you think?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/ccache/attachments/20070322/87b11eb4/attachment.bin

More information about the ccache mailing list