|
Boost-Build : |
From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-06-25 06:10:45
Sohail Somani wrote:
> > [mailto:boost-build-bounces_at_[hidden]] On Behalf Of
> > Phillip Seaver
> > Sohail Somani wrote:
> > > Hi,
> > >
> > > Boost.Build V2 (Milestone 10)
> > > Boost.Jam 03.1.12
> > >
> > > If you do a single threaded build with msvc8, you will get messages
> > > like:
> > >
> > > cl : Command line warning D9002 : ignoring unknown option '/ML'
> > >
> > > The reason is that Microsoft doesn't support the single threaded
> > > statically linked CRT anymore.
> >
> > I would think it would be a bad idea to compile everything else as
> > single-threaded and link against the multi-threaded CRT. It
> > sounds like
> > <threading>single should fail to compile for msvc8.
>
> Anyway, if your code is single threaded, its no biggie to link to the
> multithreaded library. After all, all this really means is that the
> library is threadsafe.
Okay. I have committed a fix that I have verified does the correct
thing -- adding /MT[d] for msvc-8.0 and above, while adding /ML[d]
for msvc-7.1 and below when passing runtime-link=static
threading=single to the build system.
- Reece
_________________________________________________________________
Try Live.com - your fast, personalized homepage with all the things you care about in one place.
http://www.live.com/getstarted
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