Change cl/link.exe default libraries from cmdline?

547 views Asked by At

I'm trying to understand some of the fundamental windows libraries, as well as the C standard library. I currently use VS 2013.

I switched to command line compiling in order to try and have more control over which libraries are linked in, so that I can see which functions/headers resolve to which libraries. However, cl.exe (I haven't tried individual compilation/linkage) seems to be automatically including a number of libraries, as I can successfully compile and execute a number of programs with dependencies (core ones like input/output) without specifying any libraries myself.

Does the cl.exe compiler automatically include a number of libraries even from the command line, if so, how can I change this!?

Thanks! Renzo.

0

There are 0 answers