tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] compose version string from git?


From: Assaf Gordon
Subject: [Tinycc-devel] compose version string from git?
Date: Sat, 12 Sep 2015 00:56:29 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

Hello,

I was wondering if you'd be interested in modifying 'configure' script,
to add the git information to the version string.

The current string is taken from the VERSION file,
and there's no way to know which changeset was used.

Example of such output:

    $ ./tcc -v
    tcc version 0.9.26-release_0_9_26-534-g97826e (x86-64 Linux)

The exact string can be of course improved/manipulated.
The attached patch adds this functionality (and is no-op if
tinycc is not compiled from git but from a tarball).

regards,
 - assaf


Attachment: tcc-git-version.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]