Next: , Up: Diagnostics


4.1 Version

The version command just tells you the configuration with which hackt was compiled and installed. (All hackt binaries should print this version information with the -v flag.) The output may looks something like the following:

     $ hackt version
     Version: hackt 0.1.4-devel-20060508
     CVS Tag: HACKT-00-01-04-main-00-79-03-CHP-02-01
     Configured with: '--enable-fun' '--with-editline=/usr'
     'YACC=/usr/bin/yacc' '--prefix=/Users/davidfang/local' '-C'
     'CC=ccache gcc' 'CXX=ccache g++'
     build-triplet: powerpc-apple-darwin7.9.0
     c++: g++ (GCC) 3.3 20030304 (Apple Computer, Inc. build 1640)
     AM_CPPFLAGS: -I../../../src -I/usr/include
     AM_CXXFLAGS: -pipe -ansi -pedantic-errors -Wold-style-cast
     -Woverloaded-virtual -W -Wall -Wundef -Wshadow
     -Wno-unused-parameter -Wpointer-arith -Wcast-qual -Wcast-align
     -Wconversion -Werror
     AM_LDFLAGS: -L/usr/lib
     config-CXXFLAGS: -g -O2
     config-CPPFLAGS:
     config-LDFLAGS:
     config-LIBS: -ledit  -lncurses
     lex: flex version 2.5.4
     yacc: /usr/bin/yacc
     readline: BSD EditLine (histedit interface) ver. 2.9
     build-date: Wed May 10 18:24:59 EDT 2006

This information is especially useful for reporting bugs. A list of known successful configurations is in the top source directory's BUILDS file. Reports of new configurations are always welcome.