home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / epmgcc32.zip / iccset2.e < prev    next >
Text File  |  1996-07-06  |  2KB  |  41 lines

  1. /*
  2. ╔══════════════════════════════════════════════════════════════════════════════╗
  3. ║ What's it called: EPMGCC  V3.00                                              ║
  4. ║                                                                              ║
  5. ║ What does it do:  The E source code for the GCC-Interface for EPM.           ║
  6. ║                   This file contains the code which changes global constants ║
  7. ║                   in order to use EPMGCC with the IBM C++ compiler.          ║
  8. ║                   Compile this module, but don't include it into the base    ║
  9. ║                   set of macros. It is intended to be used as an implicitly  ║
  10. ║                   loaded module, executed from the command line (issue       ║
  11. ║                   iccset from the command line and EPM will search in        ║
  12. ║                   your paths for iccset.ex). See the documentation for       ║
  13. ║                   details.                                                   ║
  14. ║                                                                              ║
  15. ║ Who and When:     B. Bablok 12/93 - 07/96                                    ║
  16. ║                                                                              ║
  17. ╚══════════════════════════════════════════════════════════════════════════════╝
  18. */
  19.  
  20. TRYINCLUDE 'gccenv.e'
  21.  
  22. DEFMAIN
  23.   UNIVERSAL gcc_edit_cmd, gcc_compile_cmd, gcc_build_cmd, gcc_debug_cmd,
  24.             gcc_d_comp_options, gcc_p_comp_options, gcc_d_make_options,
  25.             gcc_p_make_options, gcc_translate, gcc_parser_mod
  26.  
  27.   gcc_edit_cmd    = 'edit'                    -- makefile edit
  28.   gcc_compile_cmd = 'start /n /win icc'       -- compiler is icc
  29.   gcc_build_cmd   = 'start /n /win nmake'     -- use NMAKE
  30.   gcc_debug_cmd   = 'start /n /pm ipmd'       -- use ipmd
  31.   gcc_translate   = 0                         -- don't translate \ to / in filenames
  32.  
  33.   gcc_d_comp_options = '/C+ /Gd+ /Ti+ /Tm+ /W2 /Wpro+uni %*'
  34.   gcc_p_comp_options = '/Gd+ /Gf+ /O+ /Ol+ /Fe%**P%**N.exe %*'
  35.   gcc_d_make_options = '-I -f %* MODE=D'
  36.   gcc_p_make_options = '-I -f %* MODE=P'
  37.  
  38.   'UNLINK' gcc_parser_mod                      -- discard old error-parser
  39.   'LINK    iccparse'                          -- iccparse.ex must be available
  40.   gcc_parser_mod = 'iccparse'                  -- save module-name
  41.