home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 7 / FreshFishVol7.bin / bbs / gnu / gcc-2.3.3-src.lha / GNU / src / amiga / gcc-2.3.3 / gcc.info-14 (.txt) < prev    next >
GNU Info File  |  1994-02-06  |  49KB  |  906 lines

  1. This is Info file gcc.info, produced by Makeinfo-1.49 from the input
  2. file gcc.texi.
  3.    This file documents the use and the internals of the GNU compiler.
  4.    Copyright (C) 1988, 1989, 1992 Free Software Foundation, Inc.
  5.    Permission is granted to make and distribute verbatim copies of this
  6. manual provided the copyright notice and this permission notice are
  7. preserved on all copies.
  8.    Permission is granted to copy and distribute modified versions of
  9. this manual under the conditions for verbatim copying, provided also
  10. that the sections entitled "GNU General Public License" and "Protect
  11. Your Freedom--Fight `Look And Feel'" are included exactly as in the
  12. original, and provided that the entire resulting derived work is
  13. distributed under the terms of a permission notice identical to this
  14.    Permission is granted to copy and distribute translations of this
  15. manual into another language, under the above conditions for modified
  16. versions, except that the sections entitled "GNU General Public
  17. License" and "Protect Your Freedom--Fight `Look And Feel'", and this
  18. permission notice, may be included in translations approved by the Free
  19. Software Foundation instead of in the original English.
  20. File: gcc.info,  Node: Driver,  Next: Run-time Target,  Up: Target Macros
  21. Controlling the Compilation Driver, `gcc'
  22. =========================================
  23. `SWITCH_TAKES_ARG (CHAR)'
  24.      A C expression which determines whether the option `-CHAR' takes
  25.      arguments.  The value should be the number of arguments that
  26.      option takes--zero, for many options.
  27.      By default, this macro is defined to handle the standard options
  28.      properly.  You need not define it unless you wish to add additional
  29.      options which take arguments.
  30. `WORD_SWITCH_TAKES_ARG (NAME)'
  31.      A C expression which determines whether the option `-NAME' takes
  32.      arguments.  The value should be the number of arguments that
  33.      option takes--zero, for many options.  This macro rather than
  34.      `SWITCH_TAKES_ARG' is used for multi-character option names.
  35.      By default, this macro is defined to handle the standard options
  36.      properly.  You need not define it unless you wish to add additional
  37.      options which take arguments.
  38. `SWITCHES_NEED_SPACES'
  39.      A string-valued C expression which is nonempty if the linker needs
  40.      a space between the `-L' or `-o' option and its argument.
  41.      If this macro is not defined, the default value is 0.
  42. `CPP_SPEC'
  43.      A C string constant that tells the GNU CC driver program options to
  44.      pass to CPP.  It can also specify how to translate options you
  45.      give to GNU CC into options for GNU CC to pass to the CPP.
  46.      Do not define this macro if it does not need to do anything.
  47. `SIGNED_CHAR_SPEC'
  48.      A C string constant that tells the GNU CC driver program options to
  49.      pass to CPP.  By default, this macro is defined to pass the option
  50.      `-D__CHAR_UNSIGNED__' to CPP if `char' will be treated as
  51.      `unsigned char' by `cc1'.
  52.      Do not define this macro unless you need to override the default
  53.      definition.
  54. `CC1_SPEC'
  55.      A C string constant that tells the GNU CC driver program options to
  56.      pass to `cc1'.  It can also specify how to translate options you
  57.      give to GNU CC into options for GNU CC to pass to the `cc1'.
  58.      Do not define this macro if it does not need to do anything.
  59. `CC1PLUS_SPEC'
  60.      A C string constant that tells the GNU CC driver program options to
  61.      pass to `cc1plus'.  It can also specify how to translate options
  62.      you give to GNU CC into options for GNU CC to pass to the
  63.      `cc1plus'.
  64.      Do not define this macro if it does not need to do anything.
  65. `ASM_SPEC'
  66.      A C string constant that tells the GNU CC driver program options to
  67.      pass to the assembler.  It can also specify how to translate
  68.      options you give to GNU CC into options for GNU CC to pass to the
  69.      assembler. See the file `sun3.h' for an example of this.
  70.      Do not define this macro if it does not need to do anything.
  71. `ASM_FINAL_SPEC'
  72.      A C string constant that tells the GNU CC driver program how to
  73.      run any programs which cleanup after the normal assembler.
  74.      Normally, this is not needed.  See the file `mips.h' for an
  75.      example of this.
  76.      Do not define this macro if it does not need to do anything.
  77. `LINK_SPEC'
  78.      A C string constant that tells the GNU CC driver program options to
  79.      pass to the linker.  It can also specify how to translate options
  80.      you give to GNU CC into options for GNU CC to pass to the linker.
  81.      Do not define this macro if it does not need to do anything.
  82. `LIB_SPEC'
  83.      Another C string constant used much like `LINK_SPEC'.  The
  84.      difference between the two is that `LIB_SPEC' is used at the end
  85.      of the command given to the linker.
  86.      If this macro is not defined, a default is provided that loads the
  87.      standard C library from the usual place.  See `gcc.c'.
  88. `STARTFILE_SPEC'
  89.      Another C string constant used much like `LINK_SPEC'.  The
  90.      difference between the two is that `STARTFILE_SPEC' is used at the
  91.      very beginning of the command given to the linker.
  92.      If this macro is not defined, a default is provided that loads the
  93.      standard C startup file from the usual place.  See `gcc.c'.
  94. `ENDFILE_SPEC'
  95.      Another C string constant used much like `LINK_SPEC'.  The
  96.      difference between the two is that `ENDFILE_SPEC' is used at the
  97.      very end of the command given to the linker.
  98.      Do not define this macro if it does not need to do anything.
  99. `LINK_LIBGCC_SPECIAL'
  100.      Define this macro meaning that `gcc' should find the library
  101.      `libgcc.a' by hand, rather than passing the argument `-lgcc' to
  102.      tell the linker to do the search.
  103. `RELATIVE_PREFIX_NOT_LINKDIR'
  104.      Define this macro to tell `gcc' that it should only translate a
  105.      `-B' prefix into a `-L' linker option if the prefix indicates an
  106.      absolute file name.
  107. `STANDARD_EXEC_PREFIX'
  108.      Define this macro as a C string constant if you wish to override
  109.      the standard choice of `/usr/local/lib/gcc-lib/' as the default
  110.      prefix to try when searching for the executable files of the
  111.      compiler.
  112. `MD_EXEC_PREFIX'
  113.      If defined, this macro is an additional prefix to try after
  114.      `STANDARD_EXEC_PREFIX'.  `MD_EXEC_PREFIX' is not searched when the
  115.      `-b' option is used, or the compiler is built as a cross compiler.
  116. `STANDARD_STARTFILE_PREFIX'
  117.      Define this macro as a C string constant if you wish to override
  118.      the standard choice of `/usr/local/lib/' as the default prefix to
  119.      try when searching for startup files such as `crt0.o'.
  120. `MD_STARTFILE_PREFIX'
  121.      If defined, this macro supplies an additional prefix to try after
  122.      the standard prefixes.  `MD_EXEC_PREFIX' is not searched when the
  123.      `-b' option is used, or when the compiler is built as a cross
  124.      compiler.
  125. `MD_STARTFILE_PREFIX_1'
  126.      If defined, this macro supplies yet another prefix to try after the
  127.      standard prefixes.  It is not searched when the `-b' option is
  128.      used, or when the compiler is built as a cross compiler.
  129. `LOCAL_INCLUDE_DIR'
  130.      Define this macro as a C string constant if you wish to override
  131.      the standard choice of `/usr/local/include' as the default prefix
  132.      to try when searching for local header files.  `LOCAL_INCLUDE_DIR'
  133.      comes before `SYSTEM_INCLUDE_DIR' in the search order.
  134.      Cross compilers do not use this macro and do not search either
  135.      `/usr/local/include' or its replacement.
  136. `SYSTEM_INCLUDE_DIR'
  137.      Define this macro as a C string constant if you wish to specify a
  138.      system-specific directory to search for header files before the
  139.      standard directory.  `SYSTEM_INCLUDE_DIR' comes before
  140.      `STANDARD_INCLUDE_DIR' in the search order.
  141.      Cross compilers do not use this macro and do not search the
  142.      directory specified.
  143. `STANDARD_INCLUDE_DIR'
  144.      Define this macro as a C string constant if you wish to override
  145.      the standard choice of `/usr/include' as the default prefix to try
  146.      when searching for header files.
  147.      Cross compilers do not use this macro and do not search either
  148.      `/usr/include' or its replacement.
  149. `INCLUDE_DEFAULTS'
  150.      Define th