home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / gccdist / gcc / gcc.cld < prev    next >
Encoding:
Text File  |  1992-06-11  |  4.5 KB  |  120 lines

  1. ! <gcc.cld>
  2. !*******  GCC == GNU C compiler  *******
  3. define type NAME_OPTIONS
  4.    keyword HEX_SUFFIX,    default
  5.    keyword UPPER
  6.    keyword LOWER
  7.    keyword MIXED
  8.    keyword AS_IS    !synonym for MIXED
  9. define type PROFILE_OPTIONS
  10.    keyword ALL                ! => -p -a
  11.    keyword FUNCTION,    default        ! => -p
  12.    keyword BLOCK            ! => -a
  13. !define type LIST_OPTIONS
  14. !   keyword CPP_OUTPUT,  default
  15. !   keyword DEFINES
  16. !   keyword MAKERULES
  17. !   keyword LOCALRULES
  18. define type DEBUG_OPTIONS
  19.    keyword ALL,        default        ! => -g
  20.    keyword NONE
  21.    keyword TRACEBACK,    negatable
  22.    keyword SYMBOLS,    negatable
  23.    keyword INLINE,    negatable
  24. !define type DESIGN_OPTIONS
  25. !   keyword COMMENTS,     negatable
  26. !   keyword PLACEHOLDERS,negatable
  27. !define type MACHINE_LIST_OPTIONS
  28. !   keyword INTERSPERSED
  29. !   keyword AFTER
  30. !   keyword BEFORE
  31. !define type PRECISION_OPTIONS
  32. !   keyword SINGLE
  33. !   keyword DOUBLE
  34. define type SHOW_OPTIONS
  35.    keyword ALL                ! => /LIST -M
  36.    keyword NONE
  37.    keyword DEFINITIONS, negatable    ! => /LIST -d
  38.    keyword RULES,    negatable, default  ! => /LIST -MM
  39. !   keyword INCLUDE,     negatable
  40. !   keyword STATISTICS,  negatable
  41. !   keyword SYMBOLS,     negatable
  42. !   keyword SOURCE,     negatable
  43. !   keyword HEADER,     negatable
  44. !   keyword EXPANSION,     negatable
  45. !   keyword INTERMEDIATE,negatable
  46. !   keyword BRIEF,     negatable
  47. !   keyword TERMINAL,     negatable
  48. !   keyword DICTIONARY,  negatable
  49. !   keyword TRANSLATION, negatable
  50. !   keyword DECOMPOSITION,negatable
  51. define type STANDARD_OPTIONS
  52.    keyword ALL
  53.    keyword NONE                ! => -traditional
  54.    keyword PORTABLE,    negatable    ! => -ansi -pedantic
  55.    keyword ANSI,    negatable, default
  56. define type WARNING_OPTIONS
  57.    keyword ALL,        default        ! => -Wall
  58.    keyword NONE
  59.    keyword NOINFORMATIONALS        ! => gcc-cc1 -Wall
  60.    keyword NOWARNINGS            ! => gcc-cpp -Wall
  61. define type VERBOSE_OPTIONS
  62.    keyword ALL, default
  63.    keyword STATISTICS
  64.    keyword ECHO
  65.    keyword VERIFY    !synonum for ECHO
  66. define verb GCC
  67.    image GNU_CC:[000000]GCC.EXE
  68.    parameter P1,    label=GCC_INPUT,  prompt="File",
  69.             value (required,type=$infile)    !(list not allowed)
  70.    qualifier PLUS_PLUS, negatable            ! => -+  (C++ mode)
  71.    qualifier ANALYSIS_DATA !value (type=$outfile), placement=positional
  72.    qualifier BOTHCASE,    nonnegatable, placement=positional
  73.    qualifier CASE_HACK, negatable, default
  74.    qualifier CC1_OPTIONS, value (required)  !,type=$quoted_string)
  75.    qualifier CROSS_REFERENCE, placement=positional
  76.    qualifier DEBUG,    value (list,type=DEBUG_OPTIONS)
  77.             placement=positional
  78.    qualifier DEFINE,    value (list,required), placement=positional
  79.    qualifier DESIGN    value !!(list,type=DESIGN_OPTIONS), placement=positional
  80.    qualifier DIAGNOSTICS !!value (type=$outfile), placement=positional
  81.    qualifier G_FLOAT,    placement=positional
  82.    qualifier INCLUDE_DIRECTORY, value (required,list),
  83.             placement=positional
  84.    qualifier LIBRARY  !!nonnegatable, placement=local
  85.    qualifier LIST,    value (type=$outfile),    !! batch,
  86.             placement=positional
  87.    qualifier MACHINE_CODE, value (type=$outfile),  !!type=MACHINE_LIST_OPTIONS
  88.             placement=positional
  89.    qualifier NAMES,    nonnegatable,  !! default,
  90.             value (type=NAME_OPTIONS), placement=positional
  91.    qualifier OBJECT,    default, value (type=$outfile)
  92.             placement=positional
  93.    qualifier OPTIMIZE,    default, value (list), placement=positional
  94.    qualifier PARALLEL !!placement=positional
  95.    qualifier PRECISION    nonnegatable, value !!(required,type=PRECISION_OPTIONS)
  96. !            placement=positional
  97.    qualifier PREPROCESS_ONLY, value (type=$outfile), placement=positional
  98.    qualifier PROFILE,    value (type=PROFILE_OPTIONS)
  99.    qualifier SCAN,    value (required,list,type=$infile)
  100.             placement=positional
  101.    qualifier SHOW,    nonnegatable, value (type=SHOW_OPTIONS),
  102.             placement=positional
  103.    qualifier STANDARD,    value (list,type=STANDARD_OPTIONS),
  104.             placement=positional
  105.    qualifier TARGET,    value (required,type=$outfile),placement=positional
  106.    qualifier TRACE    nonnegatable, value (list), placement=positional
  107.    qualifier UNDEFINE,    value (list,required),
  108.             placement=positional
  109.    qualifier VERBOSE,    value (list,type=VERBOSE_OPTIONS)
  110.    qualifier VERSION    negatable
  111.    qualifier WARNINGS,    value (list,type=WARNING_OPTIONS), placement=positional
  112. disallow debug.none and (debug.all or debug.symbols or debug.traceback)
  113. disallow show.none and (show.all or show.rules or show.definitions)
  114. disallow standard.none and (standard.all or standard.portable or standard.ansi)
  115. disallow warnings.none and (warnings.all or warnings.noinformationals
  116.                 or warnings.nowarnings)
  117. disallow ANY2(case_hack, bothcase, names)
  118. disallow preprocess_only and (object or machine_code)
  119. disallow plus_plus and standard
  120.