Case 2: Sample program test2.cpp
// test2.cpp
#include
void main()
{
}
• | If you build test2.cpp using the /ML (or /MLd, for a debug build) compiler option, your program will link with LIBC.LIB (or LIBCD.LIB, for debug build) and LIBCP.LIB (or LIBCPD.LIB, for debug build), in addition to other libraries. |
• | If you build test2.cpp using the /MT (or /MTd, for a debug build) compiler option, your program will link with LIBCMT.LIB (or LIBCMTD.LIB, for debug build) and LIBCPMT.LIB (or LIBCPMTD.LIB, for debug build), in addition to other libraries. |
• | If you build test2.cpp using the /MD (or /MDd, for a debug build) compiler option, your program will link with MSVCRT.LIB (or MSVCRTD.LIB, for debug build) and MSVCPRT.LIB (or MSVCPRTD.LIB, for debug build), in addition to other libraries. For Microsoft Visual C++ 2005, your program will be dependent on MSVCRT.DLL and MSVCP80.DLL (or MSVCRTD.DLL and MSVCP80D.DLL for debug build). For Microsoft Visual C++ 2003, your program will be dependent on MSVCRT.DLL and MSVCP71.DLL (or MSVCRTD.DLL and MSVCP71D.DLL for debug build). For Microsoft Visual C++ 2002, your program will be dependent on MSVCRT.DLL and MSVCP70.DLL (or MSVCRTD.DLL and MSVCP70D.DLL for debug build). For Microsoft Visual C++ 6.0, your program will be dependent on MSVCRT.DLL and MSVCP60.DLL (or MSVCRTD.DLL and MSVCP60D.DLL for debug build). For Microsoft Visual C++ 5.0, your program will be dependent on MSVCRT.DLL and MSVCP50.DLL (or MSVCRTD.DLL and MSVCP50D.DLL for debug build). For Microsoft Visual C++ 4.2, your program will be dependent on MSVCRT.DLL (or MSVCRTD.DLL for debug build) and MSVCPRT.LIB (or MSVCPRTD.LIB, for debug build). |
No comments:
Post a Comment