Project

General

Profile

Feature #1219

Frobby version number

Added by John Abbott over 5 years ago. Updated about 1 year ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
Documentation
Target version:
Start date:
16 Aug 2018
Due date:
% Done:

10%

Estimated time:
Spent time:

Description

It is possible to get the version number from Frobby.
Modify ExternalLibs.C so that it extracts Frobby's version number.


Related issues

Related to CoCoALib - Feature #1050: ExternalLibs: function for getting infoClosed2017-04-24

Related to CoCoALib - Design #1221: Reconsider design for accessing headers and libs of external librariesClosed2018-08-16

History

#1 Updated by John Abbott over 5 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

The Frobby version number (C string) is in constants::version defined in src/stdinc.h and src/stdinc.cpp.
Note that stdinc.h is not included in frobby.h, so I suggest writing an extra file ExternalLib-Frobby-version.C which just gets the version number (to avoid including stdinc.h more than necessary).

#2 Updated by John Abbott over 5 years ago

With the current design it is trickier than expected.

The main point is that the current design of CoCoALib assumes that external libraries have single header files which are then linked to (symbolically) from CoCoALib's own configuration/ExternalLibs/include/ directory. So it is non-trivial to make two of Frobby's header files visible to CoCoALib.

What to do?
  • (1) modify (my already modified copy of) Frobby so that its "version function" is declared in frobby.h. Such a modification makes some sense; indeed the nicest way might be to create a new Frobby header version.h, and then include that header in frobby.h (but this won't work with CoCoALib's way of including external libs...)
  • (2) change CoCoALib's design regarding external libs, so that it links to external directories

#3 Updated by John Abbott over 5 years ago

  • Related to Feature #1050: ExternalLibs: function for getting info added

#4 Updated by John Abbott over 5 years ago

  • Related to Design #1221: Reconsider design for accessing headers and libs of external libraries added

#5 Updated by John Abbott over 4 years ago

  • Target version changed from CoCoALib-0.99650 November 2019 to CoCoALib-0.99700

#6 Updated by John Abbott over 4 years ago

There was recent email from Bjarke Roune stating that he will no longer be able to maintain Frobby.
We should contact the other users to make a unified stable version which can be kept on "life-support".

#7 Updated by John Abbott over 4 years ago

  • Target version changed from CoCoALib-0.99700 to CoCoALib-0.99800

#8 Updated by John Abbott about 3 years ago

  • Target version changed from CoCoALib-0.99800 to CoCoALib-0.99850

I believe that maintenance of Frobby has now passed to the Macaulay group (Mike Stillman, etc.)
We should contact them... when we find time :-/

#9 Updated by John Abbott about 1 year ago

  • Target version changed from CoCoALib-0.99850 to CoCoALib-0.99880

Also available in: Atom PDF