diff options
author | Steve Chamberlain <steve@cygnus> | 1991-09-01 03:42:05 +0000 |
---|---|---|
committer | Steve Chamberlain <steve@cygnus> | 1991-09-01 03:42:05 +0000 |
commit | 02757e591cca8cfab73d599399fa4940d9872578 (patch) | |
tree | ccd58eeff84acd0191c40605312b448ea23c3521 /ld/configure.in | |
parent | e4899eb8095336dcb4a1ca6d65b3627f3dffdc01 (diff) | |
download | gdb-02757e591cca8cfab73d599399fa4940d9872578.zip gdb-02757e591cca8cfab73d599399fa4940d9872578.tar.gz gdb-02757e591cca8cfab73d599399fa4940d9872578.tar.bz2 |
Changed the word binutils to 'the linker'
Diffstat (limited to 'ld/configure.in')
-rw-r--r-- | ld/configure.in | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/ld/configure.in b/ld/configure.in new file mode 100644 index 0000000..1ecf3fb --- /dev/null +++ b/ld/configure.in @@ -0,0 +1,82 @@ +# This file is a shell script fragment that supplies the information +# necessary to tailor a template configure script into the configure +# script appropriate for this directory. For more information, check +# any existing configure script. + +srctrigger=ldmain.c +srcname="linker" + +# per-host: + +if [ "${host_os}" = "posix" ] ; then + my_host=posix +else + case "${host_cpu}" in + rs6000) my_host=aix ;; + mips) + case "${host_vendor}" in + dec) my_host=dec3100 ;; + esac + ;; + m88k) + case "${host_vendor}" in + *) + case "${host_os}" in + dgux) my_host=dgux ;; + esac + ;; + esac + ;; + + m68k) + case "${host_vendor}" in + hp) my_host=hp9000 ;; + sony) my_host=news ;; + sun) my_host=sun3 ;; + esac + ;; + + i386) + case "${host_vendor}" in + *) + case "${host_os}" in + sysv) my_host=i386v ;; + esac + ;; + esac + ;; + + sparc) + case "${host_vendor}" in + sun) my_host=sun4 ;; + esac + ;; + + rtpc) my_host=rtbsd ;; + tahoe | vax) my_host=${host_cpu} ;; + esac +fi + +if [ ! -f config/hmake-${my_host} ] ; then + echo '***' The linker do not support host ${host} + exit 1 +fi + +host_makefile_frag=config/hmake-${my_host} + +# per-target: + +case ${target_cpu} in +sparc) + case ${target_vendor} in + sun) my_target=sun4 ;; + esac + ;; +m88k) my_target=m88k-bcs ;; +a29k) my_target=coff-a29k ;; +esac + +target_makefile_frag=config/tmake-${my_target} + +files= +links= |