Commit f820b898 by Ian Lance Taylor

Search for ld in the compiler directories.

From-SVN: r4872
parent cf0c751a
...@@ -857,9 +857,8 @@ main (argc, argv) ...@@ -857,9 +857,8 @@ main (argc, argv)
if (ld_file_name == 0) if (ld_file_name == 0)
ld_file_name = find_a_file (&path, REAL_LD_FILE_NAME); ld_file_name = find_a_file (&path, REAL_LD_FILE_NAME);
#endif #endif
/* This would be the right place to search the compiler dirs if (ld_file_name == 0)
for `ld', but we don't do that, since this program is installed ld_file_name = find_a_file (&cpath, full_ld_suffix);
there as `ld'. */
/* Search the ordinary system bin directories /* Search the ordinary system bin directories
for `ld' (if native linking) or `TARGET-ld' (if cross). */ for `ld' (if native linking) or `TARGET-ld' (if cross). */
if (ld_file_name == 0) if (ld_file_name == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment