Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiler & Linker Switches Question...

Status
Not open for further replies.

Milby7

Programmer
Dec 5, 2003
67
GB
Hi,

Can anyone tell me what the difference is between setting the runtime library by the compiler switch "/MTd" for example, & adding LIBCMTD.LIB, or LIBCPMTD.LIB to the additional dependencies of a project??

If you set the subsystem as Windows, Console, or don't set it at all, do you still link to the same runtime library, but to different symbols?? Is that the main difference between windows & console apps??

I've built a managed C++ project, am also using some runtime functions so need to link to it, but i don't really understand what the compiler switches are for when specifying the runtime library!? It'll work if i add the runtime library i want to the additional dependencies. Just don't fully understand!

Many thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top