aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-12-16 09:46:22 +0000
committerAlan Modra <amodra@gcc.gnu.org>2005-12-16 20:16:22 +1030
commit00dcee0c2b28fcca272fe3e9ad67782022612671 (patch)
tree64e99a1a4a1a816c816ed2e0920f6cb911257f1a /gcc/doc
parentbd1ef757767f6d9e4b8ba3dfdaf38e89fd282c52 (diff)
downloadgcc-00dcee0c2b28fcca272fe3e9ad67782022612671.zip
gcc-00dcee0c2b28fcca272fe3e9ad67782022612671.tar.gz
gcc-00dcee0c2b28fcca272fe3e9ad67782022612671.tar.bz2
re PR driver/20425 (-print-search-dirs doesn't honor mutil-os/multilib settings)
PR driver/20425 * gcc.c (for_each_path): New function. (add_to_obstack, file_at_path): New functions. (struct file_at_path_info, struct add_to_obstack_info): New. (build_search_list): Rewrite using for_each_path. Constify struct path_prefix pointer. Add do_multi param. Adjust all callers. (find_a_file): Similarly, but just change existing param to bool. (putenv_from_prefixes): Add do_multi param, make "paths" const. (do_spec_path): Delete. (struct spec_path_info): New. (spec_path): New function. (do_spec_1): Use for_each_path for %D and %I. (find_file): Adjust for find_a_file changes. (main): Search multilibs for specs. Print multilib lib path for -print-search-dirs. Likewise add multilibs to LIBRARY_PATH_ENV. (read_specs): Search multilibs for %include and %include_noerr. (is_directory): Remove second string param. Change last param to a bool. Don't use concat. Remove SMALL_ARG_MAX test, always check path is a dir. Update all callers. * doc/hostconfig.texi (SMALL_ARG_MAX): Remove mention. * system.h (SMALL_ARG_MAX): Poison. * config.gcc: Don't define SMALL_ARG_MAX. * config.host: Likewise. * config.build: Likewise. From-SVN: r108635
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/hostconfig.texi5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/doc/hostconfig.texi b/gcc/doc/hostconfig.texi
index 98dadaf..1c97ac2 100644
--- a/gcc/doc/hostconfig.texi
+++ b/gcc/doc/hostconfig.texi
@@ -208,11 +208,6 @@ initialization when @code{collect2} is being initialized.
If defined, a C statement (sans semicolon) that performs host-dependent
initialization when a compilation driver is being initialized.
-@item SMALL_ARG_MAX
-Define this macro if the host system has a small limit on the total
-size of an argument vector. This causes the driver to take more care
-not to pass unnecessary arguments to subprocesses.
-
@item HOST_LONG_LONG_FORMAT
If defined, the string used to indicate an argument of type @code{long
long} to functions like @code{printf}. The default value is