|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-05-28 04:27:52
Hi Trevor,
> I just has a first go at boost build v2. It looks really good, and I
> even found every thing I needed to get going in the documentation!
>
> I had to add .cc as a C++ file type (how would I do that without
> modifying the new/*.jam files?)
There's no way now. Probably, it's not even needed, once we add all common
types.
> I can't seem to build my dll, however. Using my Jamfile...
>
> all.cc = ... some C++ files... ;
> lib xju : [ sequence.unique $(all.cc) ] boost_regex : <include>..
> <include>../../boost_1_30_0 ;
>
> lib boost_regex : : <name>boost_regex
> <search>blah/regex/build/bin/boost_regex.dll/gcc/release/runtime-link-dynam
>ic ;
>
> ... boost_regex.dll appears *twice* on the link command line, and the
> link fails with multiply-defined symbols.
Hmm.. could you tell more. What compiler is used (The code above assumes gcc).
On what system. The fact that boost_regex.dll appears twice is natural: all
libraries appear twice. It's a workaround for the fact that gcc is sensitive
to the order libraries are specified.
This never caused any problems with gcc on Linux, and, morever, we have a test
for prebuilt libraries which works everywhere, so more details are needed.
Probably, the dll is built somehow wrong, though I don't know why.
BTW, it's also possible to directly use regex, without declaring prebuilt
target.
- Volodya
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