|
Boost-Build : |
From: John Maddock (john_at_[hidden])
Date: 2004-05-01 05:43:44
> Thanks for the two responses to my question. Using the verbose
> mode in grafik666's response, I am able to track it down to the
> compilation flag /MD. Furthermore, it is the macro _DLL that makes
> the difference.
>
> Macro _DLL is an indication to use the DLL version of the c runtime
> libaray, msvcrt.lib, instead of the static one, libc.lib.
>
> The thing I still don't quite understand is why this macro affects
> the compilation, which only involves the runtime libaray header. Does
> this macro disable the definitions of std::basic_filebuf,
> std::basic_ifstream, etc.?
>
> Anyone can shed some light on it?
No it still works for me:
$ cl /c /GX /I../../../ /MD /D_DLL=1 *.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.
convenience_test.cpp
default_name_check_test.cpp
fstream_test.cpp
operations_test.cpp
path_test.cpp
Generating Code...
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