Lines Matching refs:gcc_exec_prefix
1095 static const char *gcc_exec_prefix;
1130 gcc_exec_prefix is set because, in that case, we know where the
2478 /* The target_system_root prefix has been relocated by gcc_exec_prefix. */
3613 gcc_exec_prefix = getenv ("GCC_EXEC_PREFIX");
3654 if (!gcc_exec_prefix)
3657 gcc_exec_prefix = get_relative_prefix (decoded_options[0].arg,
3663 if (gcc_exec_prefix)
3664 xputenv (concat ("GCC_EXEC_PREFIX=", gcc_exec_prefix, NULL));
3673 char *tmp_prefix = concat (gcc_exec_prefix, "gcc", NULL);
3686 /* From this point onward, gcc_exec_prefix is non-null if the toolchain
3695 if (gcc_exec_prefix)
3697 int len = strlen (gcc_exec_prefix);
3700 && (IS_DIR_SEPARATOR (gcc_exec_prefix[len-1])))
3702 temp = gcc_exec_prefix + len - sizeof ("/lib/gcc/") + 1;
3711 set_std_prefix (gcc_exec_prefix, len);
3714 add_prefix (&startfile_prefixes, gcc_exec_prefix, "GCC",
3949 if (!gcc_exec_prefix)
3976 = concat (gcc_exec_prefix ? gcc_exec_prefix : standard_exec_prefix,
3994 if (target_system_root && !target_system_root_changed && gcc_exec_prefix)
4972 if (gcc_exec_prefix)
4977 do_spec_1 (gcc_exec_prefix, 1, NULL);
6444 concat (gcc_exec_prefix
6445 ? gcc_exec_prefix : standard_exec_prefix,
6452 also relocated by gcc_exec_prefix. */
6525 if (gcc_exec_prefix)
6526 gcc_exec_prefix = concat (gcc_exec_prefix, spec_machine, dir_separator_str,