mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 12:39:59 +00:00
2005-07-19 Paul Brook <paul@codesourcery.com>
* configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose to determine dynamic linker name.
This commit is contained in:
parent
85da3a565d
commit
a3540342ed
@ -1,3 +1,8 @@
|
||||
2005-07-19 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
* configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose
|
||||
to determine dynamic linker name.
|
||||
|
||||
2005-07-18 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* configure.tgt: Restore alpha ordering to list of arches.
|
||||
|
@ -33,7 +33,7 @@ case "${host}" in
|
||||
;;
|
||||
|
||||
*-*-linux*)
|
||||
HOSTING_CRT0='-dynamic-linker `specs=\`${CC} --print-file-name=specs\`; { if [ x"$specs" = xspecs ]; then ${CC} -dumpspecs; else cat "$specs"; fi; } | egrep "ld[^ ]*\.so" | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld[^ ]*\.so..\).*,\1,"` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`'
|
||||
HOSTING_CRT0='-dynamic-linker `${CC} --help --verbose 2>&1 | egrep "ld[^ ]*\.so" | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld[^ ]*\.so..\).*,\1,"` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`'
|
||||
HOSTING_LIBS='-L`dirname \`${CC} --print-file-name=libc.so\`` '"$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`'
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user