|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Building the Run-Time Libraries
To build your own copies of the C run-time library files
- If you have not already done so, perform a custom install of Visual C++ and install the CRT source directory.
- Set the VCTOOLS environment variable to be set to the Vc7 directory. For example, on the command line type:
set VCTOOLS=C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7
- Change directories to vc7\crt\src and depending on your operating, run:
- BLDWIN9x.BAT, if you are Windows 98 or Windows Me.
- BLDNT.CMD, if you are on Windows NT, Windows 2000, or Windows XP.
The CRT rebuild produces customized versions of CRT DLLs and corresponding import .lib files. To avoid conflicts with the existing, registered DLLs, the build process creates files with different names, using prefix sample instead of msvc. The following table shows the correspondence between the files produced by the CRT rebuild process and the CRT files installed by Visual C++:
|New file||CRT file equivalent|