It appears some prefer git hash so I added short hash.
Code is commited, you should get something like:
$ ./tcc -v
tcc version 0.9.27 - 65d00b1 (ARM eabihf Linux)
Now, anything wo. hash is not from mod.
C.
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.
I also think the hash should be there.
git describe can be useful here too.
On Wednesday, March 31, 2021, 06:44:39 PM GMT+3, Dmitry Selyutin
wrote:
Hi Jullien,
I think this is a really good idea. I'd also consider git hash, not a date, but
this is likely a minor.
> +TCC_GIT_DATE=$(s
I think this is a good idea.
"Christian Jullien" wrote:
> Can I push this patch?
>
vvv
> +TCC_GIT_DATE=$(shell which gut > /dev/null 2>&1 && git log -1 --format=%ad
> --date=local || echo no)
^^^
You have a typo here. :-)
Thanks,
Ar
Of course it’s git. I use gut to test the case git is not installed.
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org] On
Behalf Of Dmitry Selyutin
Sent: Wednesday, March 31, 2021 17:44
To: jull...@eligis.com; tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] I wan
Hi Jullien,
I think this is a really good idea. I'd also consider git hash, not a date,
but this is likely a minor.
> +TCC_GIT_DATE=$(shell which gut > /dev/null 2>&1 && git log -1
--format=%ad --date=local || echo no)
Did you mean "git" here, not "gut"?
_
Hi,
More and more users complain with 0.9.27 bugs which are solved by mob.
They often tell us they are using ./tcc -v => 0.9.27 which is meaningless as
0.9.27 is anything form last >3y old official 0.9.27 to mob.
To improve this, I would like to add the git last date (or anything that can
I fully agree with you, I already asked the same thing on this list (git
version + commit date) but got no replies L
Also the last official 0.9.27 is quite old (> 3y) it would be nice to update
the official version.
C.
From: Ivan Medoedov [mailto:ivan.medoe...@gmail.com]
Sent: Wednesday
It would be nice if tcc -v specified the git commit it was built on.
On Wed, Mar 31, 2021 at 10:01 AM Christian Jullien wrote:
> Hi Oren,
>
>
>
> Unfortunately, tcc –v does not indicates precisely the version you use.
>
> I can just say that I can’t reproduce with mob. The official 0.9.27 is
> r
Hi Oren,
Unfortunately, tcc –v does not indicates precisely the version you use.
I can just say that I can’t reproduce with mob. The official 0.9.27 is really
old. Please use mod instead.
[jullien@fedora64 ~]$ uname -a
Linux fedora64.eligis.com 5.11.10-200.fc33.x86_64 #1 SMP Thu Mar 25 1