List Info

Thread: Msvc8 + bjam




Msvc8 + bjam
user name
2006-06-25 10:10:45
Sohail Somani wrote:
> > [mailto:boost-build-bounceslists.boost.org] 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/ge
tstarted
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )