home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c220 / 3.ddi / BIN / HC386SET.CNF < prev    next >
Encoding:
Text File  |  1990-12-06  |  4.5 KB  |  105 lines

  1. ##############################################################################
  2. #  High C / Professional Pascal / Lahey Fortran
  3. #    Variable definition file for the compile-and-link driver.
  4. #  Copyright (C) 1989,1990 MetaWare Incorporated.  All rights reserved.
  5. ##############################################################################
  6. #  You may use any ASCII editor to modify this file after compiler
  7. #  installation is complete.
  8. #
  9. #  Before modifying this file, PLEASE read the section "Modifying
  10. #  the Configuration File" in the Installation Guide.
  11. ##############################################################################
  12.  
  13. ##############################################################################
  14. #  HCDIR is automatically set to the driver's parent directory.  If you
  15. #  need to move the driver and it's .cnf file to another directory, 
  16. #  change HCDIR to the directory in which you installed the HC compiler
  17. #  or define HCDIR in the environment.
  18. #
  19. #  If your tools -- linker, assembler, and so on -- are not accessible along
  20. #  the PATH environment variable, the you will need to set the TOOLSDIR
  21. #  variable to the directory where your tools are or define TOOLSDIR in 
  22. #  the environment.
  23. #
  24. #  For example,
  25. #  HCDIR=c:\hc386
  26. #  TOOLSDIR=c:\dir\not\along\path
  27. #
  28. #  Remember that the '#' comments out the rest of the line, and must be
  29. #  removed before the variable will actually be set.
  30. ##############################################################################
  31. HCDIR=$DRVPARENT
  32. #TOOLSDIR=
  33.  
  34. ##############################################################################
  35. #  Command-line options that will be evaluated at _every_ compilation.
  36. #  A backslash character '\' can be used for line continuation in this 
  37. #  file.  For example,
  38. #  ARGS=-Hvp \
  39. #       -Hon=Emit_line_table \
  40. #    -Hon=Quiet
  41. ##############################################################################
  42. ARGS=-HVp
  43.  
  44. ##############################################################################
  45. #  Linker and assembler to be used.  You may change the default linker and
  46. #  assembler names by specifying the full path to those tools here.
  47. #
  48. #  If you are running the DOS 386 compiler, and LINKNAME is set to something
  49. #  ending with "l32.", the Lahey linker will be used instead of 386link.
  50. #
  51. #  If you are running the DOS 386 compiler, and ASNAME is set to something
  52. #  ending with "masm.exe", then MASM will be used instead of 386asm.
  53. ##############################################################################
  54. #LINKNAME=
  55. #ASNAME=
  56.  
  57. ##############################################################################
  58. # Options set here will be passed to the compiler and linker when -g is used 
  59. # on the command-line.
  60. ##############################################################################
  61. HCDEBUG=-on codeview \
  62.        -off optimize_xjmp optimize_fp auto_reg_alloc postpone_arg_pops 
  63. LINKDEBUG=-cvsym
  64.  
  65. ##############################################################################
  66. #  Extra libraries to be linked in for specific memory models.
  67. ##############################################################################
  68. #  If you wish to link in extra libraries, specify them in the following
  69. #  variables.  These variables follow the same naming convention as the
  70. #  standard system libraries -- "USERLIBxy" is a user library for memory model
  71. #  'x' (which can be one of "SCMBL" for Small, Compact, Medium, Big or Large)
  72. #  and floating-point 'y' (which can be either "C" for coprocessor or "E" for
  73. #  emulator library). Values for x and y MUST be UPPERCASE.
  74. #
  75. #  For example, to link in the BlackStar C library function under
  76. #  Small model using the floating-point emulator library, you would
  77. #  set USERLIBSE=c:\blackstr\lib\clibs.lib c:\blackstr\lib\ibmlibs.lib 
  78. #         (you must specify the full path).
  79. #
  80. #  Note that these cannot be set in the environment.
  81. #  These libraries will be linked in before the standard system libraries.
  82. #
  83. #  For DOS 386, use only USERLIBE and USERLIBC.
  84. ##############################################################################
  85. USERLIBE=
  86. USERLIBC=
  87. USERLIBSE=
  88. USERLIBSC=
  89. USERLIBCE=
  90. USERLIBCC=
  91. USERLIBME=
  92. USERLIBMC=
  93. USERLIBBE=
  94. USERLIBBC=
  95. USERLIBLE=
  96. USERLIBLC=
  97.  
  98. ##############################################################################
  99. #  Define source-file suffixes recognized by the driver.
  100. ##############################################################################
  101. CEXT=.c            %; # C
  102. PEXT=.p .pas        %; # Pascal
  103. FEXT=.f .for .qc    %; # Fortran
  104. AEXT=.s .asm        %; # Assembly
  105.