home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / IRIT / IRITS.ZIP / COMPILE.DOC < prev    next >
Encoding:
Text File  |  1990-05-05  |  1.8 KB  |  36 lines

  1. Compiling IRIT on unix (SGI SYSV and BSD4.3 based system) is fairly simple.
  2. As the given files uses msdos file convension (CRLF as eof), you need to
  3. convert them to unix (LF as eof), and rename them all to lower case. The
  4. DOS2UNIX csh script will do it for you - edit and remove all the CR from
  5. its lines (^M), save it and type 'csh DOS2UNIX'.
  6. rename makefile.unx to makefile, edit this file and select the variables for
  7. your system, save the file, and run make.
  8.  
  9.  
  10. IRIT is a little bit more difficult to compile on msdos, so few hints:
  11.  
  12. Using Turbo C 2.0 integrated environment, do the following:
  13.  
  14. 1. Make sure you have as much memory as possible (must be 640k system).
  15.    Tsr's of more that 100k will be probably too much.
  16. 2. Unpack all the archive, into one directory (haa, but I did that - how do
  17.    you think I am reading this file?).
  18. 3. Fire Turbo C integrated environment.
  19. 4. Load irit.tc by typing 'Alt-O', 'R'.
  20. 5. Modify the include/libraries directories in 'Alt-O', 'D'.
  21. 6. Compile by typing 'Alt-C', 'M'. (ignore the warnings!)
  22.  
  23. Alternatively, you can use the makefile.tc: rename it to makefile, and edit it
  24. and irit.lnk for the library directory and fire TC make.
  25.  
  26. Now for the other staff in this archive:
  27.  
  28. IRIT is too big to compile in debug mode and executed, so a test program called
  29. IPrsrTst has been created. This one can be compiled in both debug and regular
  30. modes (iprsrtst.tc is regular, and iprsrtsd.tc is the debug version. This
  31. program has no graphics, and interact through the regular stdin/out. irit.tc
  32. can be used to compile IRIT itself). But even that is sometimes too big so,
  33. you may take out the Booleans (bool-hi, bool1low, bool2low) if you are
  34. debugging unrelated staff, and include dummy (dummy.c -> dummy.lib) instead.
  35.  
  36. Gershon