Re: [Tack-devel] Prime Mover commands
Moved to https://github.com/davidgiven/ack
Brought to you by:
dtrg
From: tim k. <gt...@di...> - 2006-07-30 18:20:56
|
Hi, I have some additional questions about Prime Mover, as I am using it to be the build tool for the bootloader I've been modifying for the last couple of years. 1) With targets that are included via including their pmfiles, are the globals in the master pmfile evaluated? I define ROOTDIR in the master pmfile but when I try to build an included target, ROOTDIR is a nil pointer: > ./pm -v libsa ./.pm-exec-macppc: lib/libsa/pmfile:5: attempt to concatenate global `ROOTDIR' (a nil value) stack traceback: lib/libsa/pmfile:5: in function `c' stdin:937: in function `include' pmfile:5: in function `c' stdin:1524: in main chunk [C]: ? line 5 in lib/libsa/pmfile: local d = ROOTDIR.."lib/libsa/" 2) Is there a flag that is the equivalent of -V in make to display the value of a variable? If there is not, I would like to make a feature request to expand the -D flag, such that -D?X lists the first iterative evaluation of X and -D??X lists the completely iterated evaluation of X. For example, -D?d in the above would yield ROOTDIR/lib/libsa and -D??d would fill in ROOTDIR (including any included variables in ROOTDIR). 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. 4) Can I get some bare-bones description on differences between cfiles, cprograms, clibraries, and other possible options? While much of these objects is self-explanatory or available through reading the code, it would be of use to me to have something I can refer to and/or analyze for locations to do inheritence of those objects to more localized versions with optimizations included. thanks in advance, 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 |