Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"b2 --layout=versioned toolset=gcc-5" creates library-names w/o compiler-version #191

Closed
Bagira80 opened this issue Apr 6, 2017 · 2 comments
Assignees
Labels

Comments

@Bagira80
Copy link
Contributor

Bagira80 commented Apr 6, 2017

Since GCC has switched its version scheme (starting with GCC 5), building the Boost libraries (with b2) with parameters --layout=versioned and toolset=gcc-5 (or newer GCC) does no longer create library-names containing the compiler's version number. At least, this is the case on Linux.

For example, building Boost.Program_Options with --layout=versioned results in:

  • GCC 4.8: libboost_program_options-gcc48-mt-1_63_0.so
  • GCC 4.9: libboost_program_options-gcc49-mt-1_63_0.so
  • GCC 5: libboost_program_options-gcc-mt-1_63_0.so
  • GCC 6: libboost_program_options-gcc-mt-1_63_0.so

It would be great if this could be fixed so that the Boost-libraries build with GCC 5 and 6 could be installed side-by-side into the same directory.

@swatanabe
Copy link
Contributor

The reason is that the version regex in common.toolset-tag expects a two digit version.

@swatanabe
Copy link
Contributor

I used -dumpfullversion to bypass the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants