Boost logo

Boost-Build :

From: Victor A. Wagner, Jr. (vawjr_at_[hidden])
Date: 2003-12-19 08:16:26


using the vc7.1 toolset I get files like:
boost_date_time-vc71-mt-s-1_31.dll
boost_date_time-vc71-s-1_31.dll
boost_thread-vc71-mt-s-1_31.dll
I'm having trouble wrapping my brain around the concept of a static dll or
what it would mean

At Thursday 2003-12-18 08:59, you wrote:
>On Thu, 18 Dec 2003 11:16:04 -0000, John Maddock wrote:
>
> >> I've just finished building boost from current CVS. Command line used:
> >> $ bjam "-sTOOLS=mingw" "-sBUILD=debug release
> >> <runtime-link>static/dynamic <threading>multi/single"
> >
> > Which will build four library versions:
> >
> > static runtime single threaded
> > static runtime multi threaded
> > dynamic runtime single threaded
> > dynamic runtime multi threaded
>
>.... each release and debug version. Thus expected number of .lib files
>is 8. The problem is that this command created 12 .lib files. Of these,
>4 library files are dynamic libraries (which was expected) and 8 files
>are static libraries (which wasn't).
>
> > I would expect both to be different in most cases.
>
>fc /b reports that these object files are identical, see bellow:
>
>[cut]\debug>for %i in (*.obj) do fc /b %i runtime-link-static\%i
>
>[cut]\debug>fc /b connection.obj runtime-link-static\connection.obj
>Comparing files connection.obj and RUNTIME-LINK-STATIC\CONNECTION.OBJ
>FC: no differences encountered
>
>[cut]\debug>fc /b signal_base.obj runtime-link-static\signal_base.obj
>Comparing files signal_base.obj and RUNTIME-LINK-STATIC\SIGNAL_BASE.OBJ
>FC: no differences encountered
>
>[cut]\debug>fc /b slot.obj runtime-link-static\slot.obj
>Comparing files slot.obj and RUNTIME-LINK-STATIC\SLOT.OBJ
>FC: no differences encountered
>
>[cut]\debug>fc /b trackable.obj runtime-link-static\trackable.obj
>Comparing files trackable.obj and RUNTIME-LINK-STATIC\TRACKABLE.OBJ
>FC: no differences encountered
>
> > See more/getting_started.html for a description of the lib naming
> > convention.
>
>I have seen it. And I still do not understand why I have every static
>library twice. See:
>
>[cut]\libboost_signals.lib\mingw\debug>dir /a:-d *.lib /s | find "2003-"
>2003-12-18 08:09 2 211 284 libboost_signals-mgw-d-1_31.lib
>2003-12-18 08:08 2 211 284 libboost_signals-mgw-sd-1_31.lib
>2003-12-18 08:08 2 219 086 libboost_signals-mgw-mt-sd-1_31.lib
>2003-12-18 08:09 2 219 086 libboost_signals-mgw-mt-d-1_31.lib
>
>IIUC there shouldn't be such file as "libboost_signals-mgw-d-1_31.lib"
>or "libboost_signals-mgw-mt-d-1_31.lib" . Prefix "lib" means that these
>files are static liraries, thus each should have "-s" flag set.
>
>
>Kind regards
>
>
>B.
>
>
>PS. I hope my English is not that bad.
>
>
>To unsubscribe from this group, send an email to:
>jamboost-unsubscribe_at_[hidden]
>
>
>
>
>Yahoo! Groups Links
>
>To visit your group on the web, go to:
> http://groups.yahoo.com/group/jamboost/
>
>To unsubscribe from this group, send an email to:
> jamboost-unsubscribe_at_[hidden]
>
>Your use of Yahoo! Groups is subject to:
> http://docs.yahoo.com/info/terms/

Victor A. Wagner Jr. http://rudbek.com
The five most dangerous words in the English language:
"There oughta be a law"

 


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