cvs commit: hugs98/src/msc options.h

Alastair Reid reid@glass.cse.ogi.edu
Fri, 13 Sep 2002 15:55:54 -0700


reid        2002/09/13 15:55:54 PDT

  Modified files:
    src/msc              options.h 
  Log:
  Merged recent (last year or two?) changes from options.h.in into msc/options.h
  
  btw Should anyone else find themselves wanting to build with Microsoft
  Visual C++ (while using Cygwin), the trick is:
  
  1) Put this in your .bashrc (or whatever you use)
  
  VSCommonDir="/cygdrive/c/program files/microsoft visual studio/common"
  MSDevDir="/cygdrive/c/program files/microsoft visual studio/common/msdev98"
  MSVCDir="/cygdrive/c/program files/microsoft visual studio/vc98"
  
  export PATH="$MSDevDir/bin:$MSVCDir/bin:$VSCommonDir/tools/win95:$VSCommonDir/tools:$PATH"
  
  # export INCLUDE="$MSVCDir/atl/include:$MSVCDir/include:$MSVCDir/mfc/include:$INCLUDE"
  # export LIB="$MSVCDir/LIB:$MSVCDir/MFC/LIB:$LIB"
  
  export VSCommonDir="C:\\PROGRA~1\\MICROS~3\\COMMON"
  export MSDevDir="C:\\PROGRA~1\\MICROS~3\\COMMON\\msdev98"
  export MSVCDir="C:\\PROGRA~1\\MICROS~3\\VC98"
  export INCLUDE="$MSVCDir\\ATL\\INCLUDE;$MSVCDir\\INCLUDE;$MSVCDir\\MFC\\INCLUDE;$INCLUDE"
  export LIB="$MSVCDir\\LIB;$MSVCDir\\MFC\\LIB;$LIB"
  
  
  2) Put configure-generated files in the right place:
  
     cd hugs98/src
     cp msc/{Makefile,config.h,options.h} .
  
  3) Build using nmake  (_not_ GNU make)
  
     nmake
  
  4) Copy into directory above and test
  
     cp *.exe ..
     ../hugs
  
  At the moment, there's no story for running convert_libraries and
  friends when doing a build like this.  (Probably easy but I haven't
  got that far yet.)
  
  
  
  Revision  Changes    Path
  1.9       +11 -0     hugs98/src/msc/options.h