From a5c638ceaca09d018d041f15e7e2518c217250bc Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Mon, 8 Feb 2016 03:04:42 -0800 Subject: remove Fortran, Objective C, and C++ --- gcc/gcc.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'gcc/gcc.c') diff --git a/gcc/gcc.c b/gcc/gcc.c index f05c2c4..382facc 100755 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -460,7 +460,7 @@ proper position among the other output files. */ #endif #ifndef LINKER_NAME -#define LINKER_NAME "collect2" +#define LINKER_NAME "ld" #endif static char *cpp_spec = CPP_SPEC; @@ -5523,13 +5523,6 @@ main (argc, argv) { int tmp = execution_count; - /* We'll use ld if we can't find collect2. */ - if (! strcmp (linker_name_spec, "collect2")) - { - char *s = find_a_file (&exec_prefixes, "collect2", X_OK); - if (s == NULL) - linker_name_spec = "ld"; - } /* Rebuild the COMPILER_PATH and LIBRARY_PATH environment variables for collect. */ putenv_from_prefixes (&exec_prefixes, "COMPILER_PATH="); -- cgit v1.2.3