Exportar (0) Imprimir
Expandir todo

Building the Run-Time Libraries

The following procedure shows you how to build your own copies of the C run-time library files.

To build your own copies of the C run-time library files

  1. If you have not already done so, perform a custom install of Visual C++ and install the CRT source directory.

  2. Set the VCTOOLS environment variable to be set to the Vc directory. For example, on the command line type:

    set VCTOOLS=C:\Program Files\Microsoft Visual Studio .NET 2003\Vc
    
  3. Set environment variable LLP64=1 if you want to build for IA64 or LLP64=2 if you want to build for X64.

  4. Change directories to vc\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

_sample_.dll   

msvcr80.dll

sample_p.dll   

msvcp80.dll

_sampld_.dll

msvcr80d.dll

sampld_p.dll

msvcp80d.dll

_sample_.lib

msvcr80.lib

sample_p.lib

msvcp80.lib

_sampld_.lib

msvcr80d.lib

sampld_p.lib

msvcp80d.lib

See Also

Adiciones de comunidad

AGREGAR
Mostrar:
© 2014 Microsoft