|
Boost-Build : |
From: John Maddock (john_at_[hidden])
Date: 2005-09-29 04:45:56
> Well, take a look at tools/Jamfile.v2
> It specifies <runtime-link>static as requirement, and it applies to
> all subproejcts including quickbook.
Well spotted.
> The change was made but nobody else but John Maddock ;-)
> John, I'm very surprised that any distro lacks static runtime, and
> would say such distro is ehmm.. nonstandard.
Probably.
BTW I didn't make that change as such, I changed "link-runtime" to
"runtime-link" throughout the Jamfiles, after you made that change in
Boost.Build (otherwise nothing would build anymore). The static link
requirement was originally added by "grafik" with this change
http://cvs.sourceforge.net/viewcvs.py/boost/boost/tools/Jamfile.v2?r1=1.2&r2=1.3
Is there any reason why we can't just remove this? Personally I would
remove the <threading>single requirement as well, given that there is now
one compiler (VC8) that doesn't have a single-threaded variant. We should
stick to compiler defaults wherever possible IMO.
> Maybe you can check with distro makes to make sure? And, what's the
> command line that causes error, and what's the error is?
It means rebooting to get that information, but Mandiva is a quite limited
distro that just includes the minimum necessary. Basically the compiler
complains that it can't find -lrt or -lpthread or -lm or -lwhatever as soon
as you use -static on the command line.
John.
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