You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi there,
I was trying to build boost (static libs) with QNX SDP 7.0 (compiler QCC 5.4.0).
As I noticed that the built static libraries do not have an index. This is because there is no following ranlib execution after library creation.
The problem here is that QNX has different RANLIB executables for different target architectures.
This means that the boost recipe cannot (easily) detect the correct executable it has to execute to create an index in the libraries.
As I have to specify the architecture in a pre-boost-build-step anyway (by setting environment variable RANLIB) I was looking for a way to modify the ranlib executable boost executes. In the GCC recipe I found out that it retrieves the executable from the <ranlib> feature (see here) what in turn gets set by the configuration (user-config.jam in my case). This file gets generated by a pre-boost-build-step and uses the data from the RANLIB environment variable. So I modifed the qcc.jam to support the same.
The result is that the qcc toolset retrieves the <ranlib> feature from the configuration.
The problem with this approach is that it forces the user to specify a ranlib feature. But this could be undesireable. I tried to make it optional but had no success so far as I am no BJAM/JAM expert at all.
Can some BJAM-enthusiast help me out?
The text was updated successfully, but these errors were encountered:
Johnnyxy
changed the title
[bug]
[bug] QNX RANLIB not executed for built libraries
Jun 12, 2019
Thank you for your contributions. Main development of B2 has moved to https://github.com/bfgroup/b2
This issue has been automatically marked as "transition" to indicate the potential for needing transition to the new B2 development project.
hi there,
I was trying to build boost (static libs) with QNX SDP 7.0 (compiler QCC 5.4.0).
As I noticed that the built static libraries do not have an index. This is because there is no following
ranlib
execution after library creation.The problem here is that QNX has different RANLIB executables for different target architectures.
This means that the boost recipe cannot (easily) detect the correct executable it has to execute to create an index in the libraries.
As I have to specify the architecture in a pre-boost-build-step anyway (by setting environment variable
RANLIB
) I was looking for a way to modify theranlib
executable boost executes. In the GCC recipe I found out that it retrieves the executable from the<ranlib>
feature (see here) what in turn gets set by the configuration (user-config.jam
in my case). This file gets generated by a pre-boost-build-step and uses the data from theRANLIB
environment variable. So I modifed the qcc.jam to support the same.The result is that the
qcc
toolset retrieves the<ranlib>
feature from the configuration.See the patch file here:
boost_build_qcc_use_ranlib_feature.patch.txt
further more
The problem with this approach is that it forces the user to specify a
ranlib
feature. But this could be undesireable. I tried to make it optional but had no success so far as I am no BJAM/JAM expert at all.Can some BJAM-enthusiast help me out?
The text was updated successfully, but these errors were encountered: