summaryrefslogtreecommitdiff
path: root/doc/FAQ
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-05-05 23:35:06 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2001-05-05 23:35:06 +0000
commit00705a139e0d085136237dd6260a2b3671f994cd (patch)
tree6d5c162c42aa2fa763f8ab74b3a3ddf11fced594 /doc/FAQ
parenteaea4ac993b106f38a1b37dd303fb6c4a6ccd9b5 (diff)
Added answer to Cactus/642 ... how to find CVS version info from
an executable. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2147 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'doc/FAQ')
-rw-r--r--doc/FAQ19
1 files changed, 17 insertions, 2 deletions
diff --git a/doc/FAQ b/doc/FAQ
index 47fb596a..ce57cefc 100644
--- a/doc/FAQ
+++ b/doc/FAQ
@@ -1,7 +1,7 @@
Cactus Code Frequently Asked Questions
-$Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/doc/FAQ,v 1.16 2001-04-15 08:02:52 allen Exp $
+$Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/doc/FAQ,v 1.17 2001-05-05 23:35:06 allen Exp $
Also available at http://www.cactuscode.org/Documentation/FAQ
@@ -225,4 +225,19 @@ Also available at http://www.cactuscode.org/Documentation/FAQ
-------------------------------------------------------------------------------
- \ No newline at end of file
+17. Is there anyway to tell what CVS version of individual source files
+ was used to build an executable.
+
+ Actually there is, just issue the Unix command:
+
+ strings cactus_<config> | grep Header
+
+ to see all the version information for all source files, and
+
+ strings cactus_<config> | grep Header | grep <filename>
+
+ to look for a particular file.
+
+ (Note that this only works for files using the CCTK_FILEVERSION macro)
+
+-------------------------------------------------------------------------------