Main index | Section 3 | Options |
#include <libelftc.h>
The returned identifier has four space-separated fields:
Project-Name | This is always "elftoolchain". |
Project-Branch | |
The branch name for the project source tree. | |
Build-OS | The operating system that the tool chain was compiled for. |
Version-Number | |
A tree-wide version number extracted from the version control system in use. | |
#include <sys/types.h> #include <libelftc.h>(void) printf("%s\n", elftc_version());
On the HEAD branch of the project's sources, when checked out using Subversion and compiled on a NetBSD host, this would print: where REVINFO would be the current revision information for the project source tree.
ELFTC_VERSION (3) | December 30, 2012 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.