Skip to content

The C++ shared runtime version, how to identify within the NAR #70

@GregDomjan

Description

@GregDomjan

I think there was a proposal on the sonatype issues for adding a version to the AOL. I think it was proposed as adding the OS version. But rather I think it should have been the c++ shared lib version.
ie. When you use shared lib <linkCPP> which defaults to true
msvc of msvcrt(80/90/100/110) or
g++ of glibc(1.5, 1.6).

Suggesting some thoughts on a resolution

  • The linker name could be extended to include a version, or perhaps there could be included as a classifier.
    Gives generally the same result and this leaves it for NAR to manage and can vary for each AOL.
  • It could be added as semantic version information, different OL would change co-ords. Don't like this as a solution as it makes a mess of cross OS.
  • Could continue with the information not being visible from pom/narinfo, but include subfolders or naming conventions to include the version. (boost adds the vc runtime version the filenames on a default bjam build as an example).

This issue doesn't stop current binary distributions from supporting a latest compiler - in the case of boost they have a farm of test builds for different AOL even if they don't distribute them.

Whatever OS modules NAR might provide as examples/pre compilations to central would have that issue for almost all C++ shared run time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions