This file includes instructions for building ICE on OS2 platforms.

0. FTP COOL files to OS2 PS2.

0.a. Make directories on OS2:

   From UNIX:

     cd ICE           # ICE here means the full pathname to the ice directory
     util/os2dirs     # this creates an OS2 command which makes ICE directories
     cd util
     ftp blue         # or whatever your os/2 machine name is
     ftp> cd \\user   
     ftp> put os2dirs.cmd
     ftp> bye

   From OS2:
      cd \user
      os2dirs.cmd

0.b.  FTP ICE files to OS2:    
    
    From UNIX:
      cd ICE
      util/os2copy blue ssb  # substitute in os/2 machine name and user login 

1. Bootstrap on OS2

   cd \ice
   util\os2setup

   set path=\ice\bin;%path%

   cd \ice
   pimake -Dos2 -DTOPDIR=\ice -DREV=1 -I\ice\cool\config
   nmake bootstrap

2. Build ICE

*************************************************************************
   Note: ICE assumes Glockenspiel cfront 2.0 and Microsoft 6.0 with:
     cl              the C compiler name
     /c600/include   the C include directory name
     ccxx            the C++ compiler
     /cxx20/include  the C++ include directory name
     cfxx            the C++ translator.
     Lcxxce          the C++ library name
     mxx	     the C++ munch program
     lib             the archive library command name.
     link            the link command name.

   If this is wrong on your OS2 system you need to either 
       copy the correct names to the names ICE requires ...
   or  set environment variables:
       CFRONTC (cfxx), MUNCHC (mxx) , LIBRARY (Lcxxce), LINKERC (link),
       LIBC (lib), CC (cl).
   or  edit files "ICE/cool/config/os2.cf" references
       to "c600", "cxx20, "cl" and "ccxx";
       and edit files "ICE/CCC/CCC.c and "ICE/CCC/config.h" references
       to "cl" "cfxx" "mxx" "Lcxxce" "lib" and "link".

   Also in "ICE/CCC/config.h"  it assumes tmp directory name of "E:\\".
   This can change by setting the environment variable, TMP.

*************************************************************************

   cd \ice
   nmake clean clobber

   cd \ice\pisces
   nmake all install

   cd \ice
   nmake all runtest results

3. DONE
   ls \ice\bin
   ls \ice\lib\os2

#To remake just cool:
   rm \ice\lib\os2\libcool.lib
   cd \ice\cool
   nmake clean clobber includes all runtest results
