home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / mslang / vm / readme.txt < prev    next >
Encoding:
Text File  |  1994-01-27  |  5.2 KB  |  133 lines

  1. DATE: 27/Jan/94
  2.  
  3. The purpose of this package is to provide Microsoft Visual C++ 1.0 and 1.5
  4. users the complete source code for the Virtual Memory Manager libraries which
  5. were shipped in those versions of Visual C++.  The code is identical except
  6. for a fix made to a problem that occurs when allocating memory for the upper 
  7. memory blocks (vmphys.c).
  8. These libraries contain several fixes to the libraries which were shipped 
  9. with Microsoft C/C++ v7.0.  
  10. MASM v6.00B, v6.10A or v6.11 should be used to build these libraries along
  11. with VC++ v1.0 or v1.5.
  12.  
  13.  *Some files included in this package:
  14.     readme.txt:   This file.
  15.     build.bat:    Builds VM.LIB.
  16.     delobjs.bat:  Deletes your object files.
  17.     dellibs.bat:  Deletes your library files.
  18.     strip.bat:    Removes the all of the OBJ files from the designated .LIB 
  19.                   file.
  20.     xms.rsp:      Response file used in strip.bat.
  21.     ems.rsp:      Response file used in strip.bat.
  22.     vm.rsp:       Response file used in strip.bat.
  23.     vmm.txt:      A document that discusses some aspects of the VMM.
  24.     legal.txt:    Legal stuff.
  25.  
  26.     The SRC directory contains all of the files used in VM.LIB.  The
  27.     files in it use include files from the VM\H, VM\INC and the 
  28.     \MSVC\INCLUDE directories.
  29.  
  30.  *Building the libraries:
  31.  
  32.     You must have both Microsoft C/C++, v7.0 or later and MASM 6.0 or 
  33.     later installed in order to build these libraries.
  34.  
  35.     In order to build VM.LIB, you should make sure your DOS environment
  36.     is set up for Visual C++ and MASM.
  37.  
  38.     An example (minimal configuration):
  39.  
  40.         SET PATH=c:\msvc\bin;c:\masm\bin
  41.         SET INCLUDE=c:\msvc\include
  42.         SET LIB=c:\msvc\lib
  43.  
  44.     You will also have to have a VMDIR environment variable.  
  45.     If you have installed the libraries under the c:\msvc\source\vm
  46.     directory VMDIR would be set like this,
  47.  
  48.         
  49.         SET VMDIR=C:\MSVC\SOURCE\VM
  50.  
  51.     To build the VM.LIB type,
  52.  
  53.         BUILD {release | debug} ...  from the C:\MSVC\SOURCE\VM directory.
  54.  
  55.     VM.LIB will be put into the C:\MSVC\SOURCE\VM\OBJS directory.
  56.     NOTE that XMS.LIB and EMS.LIB will also created.  These libraries
  57.     are included in VM.LIB and may be deleted.
  58.  
  59.     BUILD NOTES:  *****************************************************
  60.  
  61.     1)  If you find that all of the source files are in your current
  62.     working directory, remember to use the '-d' switch when you run
  63.     VM.EXE.  The -d switch preserves the original directory structure,
  64.     relative to your current working directory.  This is essential
  65.     to building this library.
  66.     2)  BUILD.BAT will modify your environment.  It also sets some
  67.     environment variables.  You should probably have about 1K reserved 
  68.     for your environment.  If you are low on environment space you may 
  69.     wish to increase it by modifying the SHELL command in your CONFIG.SYS 
  70.     file.  See your DOS manual for more information regarding the SHELL 
  71.     command.
  72.     3)  The compiler options in BUILD.BAT are those that were used on 
  73.     the shipping versions and are unchanged.  There is some aggressive 
  74.     optimization being done.  At this time there are no known problems
  75.     with those optimizations.  You may wish to use less aggressive 
  76.     optimizations.
  77.  
  78.  
  79.  *Linking with VM.LIB   
  80.     
  81.   MAKE SURE YOU SAVE YOUR ORIGINAL LIBRARIES!
  82.  
  83.   Method1:
  84.     
  85.     You may wish to link in VM.LIB into your programs, for testing purposes
  86.     without removing it from your main library.  In order to avoid getting
  87.     Multiply Defined Symbols your link line should look like,
  88.  
  89.        LINK TEST.OBJ,,,/noe /nod VM.LIB xLIBCE.LIB {Other libs}; 
  90.        (Note that VM.LIB is first in the listing.)
  91.  
  92.   Method2:
  93.  
  94.     Copy strip.bat and ems.rsp, xms.rsp and vm.rsp into your C:\MSVC\LIB
  95.     directory.  Copy your original XLIBCX.LIB to another directory
  96.     as a precaution.
  97.  
  98.     Type,
  99.         STRIP LLIBCE  ...  This will remove the VM .OBJ's  from LLIBCE.LIB
  100.  
  101.     Type,    
  102.         LIB LLIBCE.LIB +VM.LIB;
  103.  
  104.  
  105. Microsoft sincerely hopes that you find these libraries a useful resource.
  106.  
  107.  
  108. =========================< Additional Notes  >==========================
  109.  
  110.      - Microsoft Product Support Services offers limited customer 
  111.        support to answer general questions about installing and building
  112.        unmodified sources. 
  113.        
  114.      - Several compiler warnings may be displayed during a build of the
  115.        run-time libraries.  All of these warnings have been investigated
  116.        and can be ignored.
  117.      
  118.      - We have tested these run-time library sources and found that they 
  119.        are functionally equivalent to the shipping versions. 
  120.      
  121.        Nevertheless, you might find that certain LIBs and OBJs do not
  122.        binary-compare with the versions shipping with Visual C++. This is 
  123.        due to a hardware or software configuration difference, or to using 
  124.        a pre-production version of the tools for the shipping libraries. 
  125.  
  126.  
  127.                                 Note: 
  128.      
  129.      You ARE NOT authorized to redistribute these library sources. You
  130.      may, however, redistribute the compiled binaries with the understanding
  131.      that Microsoft Corporation does not warrant or support them in any way. 
  132.  
  133.