home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tlx501.zip / DOC / BORLAND.TXT next >
Text File  |  1995-03-07  |  2KB  |  77 lines

  1. ******************************************************************************
  2. *
  3. * BORLAND.TXT - Compilation of TLX 5.0 with Borland compilers.
  4. *
  5. * Last updated: 01-02-1995
  6. *
  7. * Copyright (c) 1991-95 Tarma Software Research. All rights reserved.
  8. *
  9. ******************************************************************************
  10.  
  11.  
  12. Compiler versions
  13. -----------------
  14.  
  15.     TLX 5.0 supports Borland C++ compilers 3.0 - 4.5 for DOS and Windows
  16.     compilations, and versions 1.0 - 2.0 for OS/2. However, you are
  17.     advised to use Borland C++ 4.02 or 4.5 (*not* 4.0, which contains a
  18.     few nasty bugs, also in its RTL) for DOS/Windows, and Borland C++ 2.0
  19.     for OS/2.
  20.  
  21.  
  22. Compilation
  23. -----------
  24.  
  25.     To compile any Borland version of TLX, change to the BC directory:
  26.  
  27.         CD TLX50\LIB\BC
  28.  
  29.     This directory contains a single MAKEFILE for all possible Borland
  30.     compilations. The MAKEFILE assumes that the relevant Borland binaries
  31.     are stored in a directory listed in your computer's PATH environment
  32.     variable (under OS/2, LIBPATH should also be properly set). In
  33.     addition, the MAKEFILE assumes the following environment variables:
  34.  
  35.         SET INCLUDE=<your Borland INCLUDE directory>
  36.         SET LIB=<your Borland LIB directory>
  37.  
  38.     For example:
  39.  
  40.         SET INCLUDE=C:\BC45\INCLUDE
  41.         SET LIB=C:\BC45\LIB
  42.  
  43.  
  44. MAKE Syntax
  45. -----------
  46.  
  47.     MAKE <platform> [-DEBUG] [<other options>]
  48.  
  49.        Platform    <platform>    <other options>
  50.     --------------------------------------------------------------------
  51.     MS-DOS (normal)    -DDOS            M=(t|s|c|m|l|h)
  52.     MS-DOS (16-ext)    -DD16            -DLL
  53.     MS-DOS (32-ext)    -DD32            -DLL
  54.     OS/2 2.x    -DOS2        -DPM, -DMT
  55.     Windows 16-bit    -DWIN        M=(t|s|c|m|l|h), -DLL, -DRTLDLL
  56.     Win32S        -DW32S        -DLL, -DRTLDLL
  57.     Windows NT 3.x    -DNT        -DLL, -DRTLDLL, -DMT, -DGUI
  58.  
  59.        Notes:
  60.     - To compile D16 or D32, you'll need the PowerPack for DOS
  61.     - To perform LINT processing, add -DLIN to the command line.
  62.  
  63.  
  64. Compiler version limitations
  65. ----------------------------
  66.  
  67.     Version        Limitations
  68.     --------------------------------------------------------------------
  69.     3.0 (D/W)    No RTTI, no exceptions, buggy templates, no 32-bit
  70.     3.1 (D/W)    No RTTI, no exceptions, no 32-bit
  71.     4.0 (D/W)    Buggy, no reliable 32-bit
  72.     4.02 (D/W)    None
  73.     4.5 (D/W)    None
  74.     1.0 (OS/2)    No RTTI, exceptions, buggy in places
  75.     1.5 (OS/2)    None (problematic debugger)
  76.     2.0 (OS/2)    None
  77.