octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #45659] version function: options and return v


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #45659] version function: options and return values supported by Matlab
Date: Wed, 06 Apr 2016 04:47:02 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0

Follow-up Comment #11, bug #45659 (project octave):

I think it would be fine to have the hg revision (if available) stored
somewhere in the binary.  Can it be stored separately from the version info? 
Possibly as a separate field in the __octave_config_info__ struct?  To make
that fairly efficient for the build, there could be a single file that
contains a function that returns the hg version.  Then the only thing that
would have to happen at build time is to compile that file (if it has changed)
and relink.ee

I don't know whether we want to include the build time and date in the binary.
 That would mean recompiling at least one file and relinking every time make
runs.  That seems like a bit much to me.  But if others want this feature and
someone wants to implement it, it's OK with me as long as it is optional.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45659>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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