Boost logo

Boost-Build :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-06-21 14:15:23


> -----Original Message-----
> From: boost-build-bounces_at_[hidden]
> [mailto:boost-build-bounces_at_[hidden]] On Behalf Of Reece Dunn
> Sent: Wednesday, June 21, 2006 10:54 AM
> To: Boost.Build developer's and user's list
> Subject: [SPAM] Re: [Boost-build] Msvc8 + bjam
> Importance: Low
>
> Sohail Somani wrote:
> > 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.
> >
> > Anyway, in msvc.jam, the lines:
> >
> > flags msvc.compile CFLAGS
> >
> <runtime-debugging>off/<runtime-link>static/<threading>single : /ML ;
> > flags msvc.compile CFLAGS
> >
> <runtime-debugging>on/<runtime-link>static/<threading>single : /MLd ;
> >
> > Should be changed to be /MT and /MTd respectively for msvc8 and up.
> >
> > How can I do this?
>
> Try the supplied patch :). If no-one complains, I will commit it.

I had to manually apply the match as patch complained (maybe I'm not up
to date).

But after doing that, I now get:

msvc.compile.c++ bin\msvc-8.0\debug\runtime-link-static\hello.obj
cl : Command line warning D9025 : overriding '/MT' with '/MTd'

Maybe you can just send me your file :)

Sohail


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