Re: [Tack-devel] Prime Mover commands
Moved to https://github.com/davidgiven/ack
Brought to you by:
dtrg
From: tim k. <gt...@di...> - 2006-08-02 21:11:45
|
At 8:01 PM -0400 7/31/06, tim kelly wrote: >At 7:15 AM -0400 7/31/06, David Given wrote: >>> 3) As another feature request, can the cache directory no longer default >>> to a "." directory? Sometimes I forget the cache directory is hidden, and >>> while at least with OpenBSD "ls" does automatically -a, not all systems do. >> >>Put: >> >>pm.intermediatecache = "path" >> >>...in your pmfile. (The ACK config.pm does this.) > >This did not work for me, unfortunately. > >./.pm-exec-macppc: stdin:71: Attempt to write to new global intermediatecache >stack traceback: > [C]: in function `error' > stdin:71: in function <stdin:70> > lib/libsa/pmfile:12: in function `c' > stdin:937: in function `include' > pmfile:16: in function `c' > stdin:1524: in main chunk > [C]: ? > >The local pmfile: > >local o = OBJDIR.."lib/libsa/" > >pm.intermediatecache = o I did some digging into the pm script in the Subversion web interface and found that this perhaps should be pm.intermediate_cache_dir, which seems to give the desired results. I have an error occuring regarding not finding a file, but I think that is something I've done, as I did get a .o file and an INDEX file in the new directory. I really like the INDEX principle, by the way. I do a lot of "objdump -d"s on object files, so having something that caches the builds allows me to compare changes between flags (like -On) much easier. It also underscores the need for being able to change the intermediate cache directory, so that instead of all of the cached object files going into a single directory, a shadow object file tree can be constructed for easier traversal. thanks, tim Gregory T. (tim) Kelly Owner Dialectronics.com P.O. Box 606 Newberry, SC 29108 "Anything war can do, peace can do better." -- Bishop Desmond Tutu |