* config.guess: Avoid the possibility of `ld' on GNU/Linux
systems being something other than the GNU linker (such as a
directory, in the case of GNU binutils).
+1994-04-06 Ben Elliston <bje@cygnus.com>
+
+ * config.guess: Avoid the possibility of `ld' on GNU/Linux systems
+ being something other than the GNU linker (such as a directory, in
+ the case of GNU binutils).
+
1999-04-05 Ben Elliston <bje@cygnus.com>
- * config.sub: Add modern Alpha processors.
+ * config.sub: Add modern Alpha processors. Reorganise.
* acspecific.m4 (AC_CYGWIN): Do not remove conftest*; let
AC_TRY_COMPILE clean up after itself.
esac
# The BFD linker knows what the default object file format is, so
- # first see if it will tell us.
- ld_help_string=`ld --help 2>&1`
+ # first see if it will tell us. cd to the root directory to prevent
+ # problems with other programs or directories called `ld' in the path.
+ ld_help_string=`cd /; ld --help 2>&1`
ld_supported_emulations=`echo $ld_help_string \
| sed -ne '/supported emulations:/!d
s/[ ][ ]*/ /g