stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov" <>
Subject RE: improving Windows build logs
Date Wed, 26 Sep 2007 18:14:30 GMT
> -----Original Message-----
> From: Travis Vitek [] 
> Sent: Wednesday, September 26, 2007 8:49 PM
> To:
> Subject: RE: improving Windows build logs
> The kernel32.lib and user32.lib libraries appear in the 
> 'Additional Dependencies' list in the Linker | Input section 
> of the project properties. These libraries are in addition to 
> the default libraries that the project assumes.
> You can disable all default libraries by adding the 
> /NODEFAULTLIB linker option without specifying a library 
> name. In that case, I believe that you could eliminate the 
> /NODEFAULTLIB:msvcprtd.lib entry also.
> If you use the /NODEFAULTLIB option, then you need to 
> remember to add the C library to the Additional Dependencies 
> list. The C library you need to add depends on the build type 
> [more specifically, it depends on the /MT or /MD flag that is 
> used]. Information on which library to link can be found here 

  Yes, I know about /NODEFAULTLIB option. Unfortunatelly
specifying of this option ignores the CRT, ATL, MFC libraries only
and not including the libraries from CoreWin.vsprops file. You can
see that setting this option doesn't removes list of the WinAPI
libraries from command line in Linker | Command Line section
of the project properties.


View raw message