Re: File version

2006-12-14 Thread Maxim Vexler
ic and you might have to add a dummy reference to the String in order to prevent the compiler from optimizing it away. - yba On Wed, 13 Dec 2006, Michael Sternberg wrote: > Date: Wed, 13 Dec 2006 12:42:13 +0200 (IST) > From: Michael Sternberg <[EMAIL PROTECTED]> > To: linux-

Re: File version

2006-12-13 Thread Chaim Keren Tzion
Here is a nice article on the use of setfattr / getfattr http://enterprise.linux.com/article.pl?sid=05/06/13/1352241&tid=113&tid=70&tid=89 But, as Shachar says, it will not survive packaging or archiving. Chaim On Wednesday 13 December 2006 12:42, Michael Sternberg wrote: > Hello everybody. > >

Re: File version

2006-12-13 Thread Shachar Shemesh
Michael Sternberg wrote: > > Hello everybody. > > Is it any way to attach a verion number to executable file ? In > Windows "right click -> properties -> Version" style ? Maybe as output > of "file" command ? Of course I always can implement "-v" or > "--version" switch to my executable, but do we

Re: File version

2006-12-13 Thread Chaim Keren Tzion
; >- yba > > On Wed, 13 Dec 2006, Michael Sternberg wrote: > > Date: Wed, 13 Dec 2006 12:42:13 +0200 (IST) > > From: Michael Sternberg <[EMAIL PROTECTED]> > > To: linux-il@linux.org.il > > Subject: File version > > > > > > Hello everybody

Re: File version

2006-12-13 Thread Jonathan Ben Avraham
order to prevent the compiler from optimizing it away. - yba On Wed, 13 Dec 2006, Michael Sternberg wrote: Date: Wed, 13 Dec 2006 12:42:13 +0200 (IST) From: Michael Sternberg <[EMAIL PROTECTED]> To: linux-il@linux.org.il Subject: File version Hello everybody. Is it any way to

File version

2006-12-13 Thread Michael Sternberg
Hello everybody. Is it any way to attach a verion number to executable file ? In Windows "right click -> properties -> Version" style ? Maybe as output of "file" command ? Of course I always can implement "-v" or "--version" switch to my executable, but do we have something more standard ?