|
Boost-Build : |
From: Jim Douglas (jim_at_[hidden])
Date: 2006-04-09 02:15:59
Now that the regression tests for the QNX/qcc toolset are running OK I
thought I would test building the libraries as a user would after
downloading the source. I tried this natively on QNX and also cross
compiling on Windows.
The first observation is that shared libraries (.so) are produced by
default, whereas bbv1 produced static libraries (.a). Is this meant to
be a user choice, and if so, how do I change it?
On bbv1 both debug and release versions of the libraries were produced.
With bbv2 I only get debug.
I note that the --with/without commands are still recognised. Is this
the correct current syntax or has it been superceeded?
I tried a 'stage' build and on QNX I end up with 3 copies of each
library with the extensions '.so.1', '.so.1.34' & '.so.1.34.0'. On
Windows I just get a single copy with a plain '.so' extension - as it
should be!
QNX does have a system of using a '_g' for debug libraries e.g.
libboost_filesystem.a & libboost_filesystem_g.a would be the release and
debug variants. I wondered if I could incorporate a rule to do this for
the qcc tools?
There are some minor differences between the two host platforms that
need to be resolved, but it's great that bbv2 now facilitates cross
compilation.
Thanks
Jim
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