Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-02-21 05:15:22


I just noted that my custom toolsets don't give the expected command line:

Toolset definition:

using hp_cxx
   : # Version
   71_006_tru64
   : # Commands
   : # Options
   <cflags>"-version V7.1-006 -msg_display_tag"
   <ldflags>"-version V7.1-006 -use_non_shared_libcxx"
   ;

Command line and result:

boost-HEAD/tools/build/v2/example/hello>
  bjam -a -n --v2 -d+2 hp_cxx-71_006_tru64

MkDir1 bin/hp_cxx-71_006_tru64

     mkdir "bin/hp_cxx-71_006_tru64"

MkDir1 bin/hp_cxx-71_006_tru64/debug

     mkdir "bin/hp_cxx-71_006_tru64/debug"

hp_cxx.compile.c++ bin/hp_cxx-71_006_tru64/debug/hello.o

     cxx -x cxx -c -std strict_ansi -nopure_cname -noimplicit_include
-timplicit_local -ptr "bin/hp_cxx-71_006_tru64/debug/cxx_repository"
-msg_display_number -msg_disable 186,450,1115 -D__CNAME_OVERLOADS -model
ansi -g3 -gall -O0 -inline none -o
"bin/hp_cxx-71_006_tru64/debug/hello.o" "hello.cpp"

hp_cxx.link bin/hp_cxx-71_006_tru64/debug/hello

     cxx -noimplicit_include -g -model ansi -o
"bin/hp_cxx-71_006_tru64/debug/hello"
"bin/hp_cxx-71_006_tru64/debug/hello.o" -lrt -lm

Note that neither the compiler nor the linker gets the flags as intended...
I double checked that this is the only definition of the specific toolset
and also checked this with a customized gcc toolset with the same result.

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