
David Abrahams wrote:
Rene Rivera <grafik.list@redshift-software.com> writes:
Julio M. Merino Vidal wrote:
So... as --layout=system already removes the toolset string from the library names (among several other things), why doesn't it remove -mt and similar suffixes too?)
Because then it would not be possible to select between single-threaded and multi-threaded versions of the same library. (repeat for the other options) Basically what --layout=system does is remove the tags that are redundant when using the system compiler. Of course if you only build one particular variant of the libraries then the extra tags might seem redundant. If that's the case a packager could decide to provide shorter names (as symlinks) to the desired variant.
I'm a little confused as to why the tags show up in the first place when they're redundant. We do have a system for removing irrelevant build properties from subvariant paths.
They aren't redundant from the point of view of the build variants. But they could be viewed as redundant if a user (packager in this case) builds only one variant, and hence only provides one variant in the package. So if the packager only includes the BB default variant then the tags don't show up.
I guess if you don't have a consistent sequence of tags it gets hard to document what the library name is on a particular system?
They are consistent :-) -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org