Discussion:
[boost] [build] Use full compiler-version in library filenames
Deniz Bahadir via Boost
2017-06-22 11:20:17 UTC
Permalink
Hi list,

While reading Vinnie's mail (regarding the Boost library filenames which
should additionally contain the address-model) I remembered another
problem existing with library filenames.
That is, that Boost libraries built with newer GCC versions (since GCC
5) never add the compiler-version into the library filenames.

Building with GCC 5 and newer only adds "gcc" into the filename to
determine the toolset, while building with earlier versions of GCC (e.g.
GCC 4.9 or GCC 4.8) additionally adds the compiler's version (e.g.
"gcc49" or "gcc48").

I assume this might be due to the fact that the version-scheme of GCC
changed since GCC 5 and somehow the logic in Boost.Build no longer works
because of this.
But in order to install boost-libraries built by different GCC versions
side-by-side in the same directory the version-number is really required
in the filename.

Maybe someone can fix this again?

A bug-report on Github which addresses this issue already exists:
https://github.com/boostorg/build/issues/191

Thanks in advance,
Deniz
--
BENOCS GmbH
Dipl.-Inform. Deniz Bahadir
Winterfeldtstr. 21
10781 Berlin
Germany
Phone: +49 - 30 / 577 0004-22
Email: ***@benocs.com
www.benocs.com

Advisory Board (Chairman): Stephan Schröder
Board of Management: Dr.-Ing. Oliver Holschke, Dr.-Ing. Ingmar Poese
Commercial Register: Amtsgericht Bonn HRB 19378

_______________________________________________
Unsubscribe & other changes: http://lists.boost
Rene Rivera via Boost
2017-06-22 13:59:09 UTC
Permalink
On Thu, Jun 22, 2017 at 6:20 AM, Deniz Bahadir via Boost <
Post by Deniz Bahadir via Boost
Hi list,
While reading Vinnie's mail (regarding the Boost library filenames which
should additionally contain the address-model) I remembered another problem
existing with library filenames.
That is, that Boost libraries built with newer GCC versions (since GCC 5)
never add the compiler-version into the library filenames.
Building with GCC 5 and newer only adds "gcc" into the filename to
determine the toolset, while building with earlier versions of GCC (e.g.
GCC 4.9 or GCC 4.8) additionally adds the compiler's version (e.g. "gcc49"
or "gcc48").
I assume this might be due to the fact that the version-scheme of GCC
changed since GCC 5 and somehow the logic in Boost.Build no longer works
because of this.
But in order to install boost-libraries built by different GCC versions
side-by-side in the same directory the version-number is really required in
the filename.
Maybe someone can fix this again?
https://github.com/boostorg/build/issues/191
Thanks for pointing that out.. Totally missed it. I'll look into it.
--
-- Rene Rivera
-- Grafik - Don't Assume Anything
-- Robot Dreams - http://robot-dreams.net
-- rrivera/acm.org (msn) - grafikrobot/aim,yahoo,skype,efnet,gmail

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Loading...