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

  1. /*
  2. ╔══════════════════════════════════════════════════════════════════════════════╗
  3. ║ What's it called: EPMGCC  V3.20                                              ║
  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 NetRexx 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. ║                   javaset from the command line and EPM will search in       ║
  12. ║                   your paths for javaset.ex). See the documentation for      ║
  13. ║                   details.                                                   ║
  14. ║                                                                              ║
  15. ║ Who and When:     B. Bablok 12/93 - 12/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 /c /f nrc'         -- compiler is NetRexxC
  29.   gcc_build_cmd   = 'start /n /win make'      -- use gnu-make
  30.   gcc_debug_cmd   = 'start /n /win jdb'       -- use jdb
  31.   gcc_translate   = 1                         -- translate \ to / in filenames
  32.  
  33.   gcc_d_comp_options = '-compact -nocrossref -verbose0 %**F'
  34.   gcc_p_comp_options = '-compact -nocrossref -verbose0 %**F'
  35.   gcc_d_make_options = '-k -f %* MODE=D'
  36.   gcc_p_make_options = '-k -f %* MODE=P'
  37.  
  38.   'UNLINK' gcc_parser_mod                     -- discard old error-parser
  39.   'LINK    nrxparse'                          -- set parser for NetRexxC
  40.   gcc_parser_mod = 'nrxparse'                 -- save module-name
  41.