Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-03-03 12:22:41


Vladimir Prus wrote:

> On Thursday 02 March 2006 19:27, Markus Schöpflin wrote:
>> Looking at the V2 build log for the program options library for the hp_cxx
>> toolset (see http://tinyurl.com/pco7c) I noticed that funny names are
>> generated for the static libraries. For example:
>>
>> - libboost_test_exec_monitor-gd-1_34.a.1.34.0
>> - libboost_program_options-gd-1_34.a.1.34.0
>>
>> There seem to be a too many numbers here. Is this really the intention?
>
> That's what V1 does on Linux, so yes, it's kinda an intention. And looking at
> V1 code it seems to do the same on Tru64. Is that the case?
>
> Can you show me the link command line for the same test that V1 generates?
> Then we can figure out what's the problem here.

boost-HEAD/libs/program_options/test> bjam -n -sTOOLS=hp_cxx-71_006_tru64
cmdline_test

gives:

...

tru64cxx65-Link-action
../../../bin/boost/libs/program_options/test/cmdline_test.test/hp_cxx-71_006_tru64/debug/cmdline_test

    cxx -noimplicit_include -g -model ansi -version V7.1-006
-use_non_shared_libcxx -o
"../../../bin/boost/libs/program_options/test/cmdline_t
est.test/hp_cxx-71_006_tru64/debug/cmdline_test"
-L../../../bin/boost/libs/program_options/build/libboost_program_options.a/hp_cxx-71_006_tru
64/debug
-L../../../bin/boost/libs/test/build/libboost_test_exec_monitor.a/hp_cxx-71_006_tru64/debug
  "../../../bin/boost/libs/program_option
s/test/cmdline_test.test/hp_cxx-71_006_tru64/debug/cmdline_test.o"
"../../../bin/boost/libs/program_options/build/libboost_program_options.a/
hp_cxx-71_006_tru64/debug/libboost_program_options-hp_cxx71006-d-1_34.a"
"../../../bin/boost/libs/test/build/libboost_test_exec_monitor.a/hp_
cxx-71_006_tru64/debug/libboost_test_exec_monitor-hp_cxx71006-d-1_34.a"
"../../../bin/boost/libs/program_options/build/libboost_program_optio
ns.a/hp_cxx-71_006_tru64/debug/libboost_program_options-hp_cxx71006-d-1_34.a"
"../../../bin/boost/libs/test/build/libboost_test_exec_monitor.
a/hp_cxx-71_006_tru64/debug/libboost_test_exec_monitor-hp_cxx71006-d-1_34.a"
  -lrt -lm

...

boost-HEAD/libs/program_options/test> bjam -n --v2 hp_cxx-71_006_tru64
cmdline_test

gives:

...

hp_cxx.link
../../../bin.v2/libs/program_options/test/cmdline_test.test/hp_cxx-71_006_tru64/debug/link-static/cmdline_test

     cxx -noimplicit_include -g -model ansi -version V7.1-006 -ieee
-use_non_shared_libcxx -o "../../../bin.v2/libs/program_options/test/cmdli
ne_test.test/hp_cxx-71_006_tru64/debug/link-static/cmdline_test"
"../../../bin.v2/libs/program_options/test/cmdline_test.test/hp_cxx-71_006_
tru64/debug/link-static/cmdline_test.o"
"../../../bin.v2/libs/test/build/hp_cxx-71_006_tru64/debug/link-static/libboost_test_exec_monitor-gd-
1_34.a.1.34.0"
"../../../bin.v2/libs/program_options/build/hp_cxx-71_006_tru64/debug/link-static/libboost_program_options-gd-1_34.a.1.34.0"

   -lrt -lm

...

The numbers after the '.a' are not there in V1.

HTH, Markus


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk