* configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to

accept either ld.so or ld-linux.so.
This commit is contained in:
Ian Lance Taylor 1998-02-02 19:14:33 +00:00
parent b73ebb798d
commit 49d579a06c
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Feb 2 14:10:59 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to
accept either ld.so or ld-linux.so.
Fri Jan 30 19:16:28 1998 Doug Evans <devans@canuck.cygnus.com>
* Makefile.am ({CC,CXX}_FOR_TARGET): Change program_transform_name

View File

@ -17,7 +17,8 @@ NATIVE_LIB_DIRS=
case "${host}" in
alpha*-*-linux*)
HOSTING_CRT0=/usr/lib/crt1.o
HOSTING_CRT0='-dynamic-linker `egrep "ld[^ ]*\.so" \`gcc --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld[^ ]*.so..\).*,\1,"` `gcc --print-file-name=crt1.o` `gcc --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc --print-file-name=crtbegin.o; fi`'
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -L`dirname \`gcc --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc --print-file-name=crtend.o; fi` `gcc --print-file-name=crtn.o`'
;;
alpha*-*-*)