Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (21 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28dir.info
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libtool.m4

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    145145  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
    146146  if AC_TRY_EVAL(ac_compile); then
     147   if test "$lt_cv_prog_gnu_ld" = yes; then
     148    case `/usr/bin/file conftest.$ac_objext` in
     149    *32-bit*)
     150      LD="${LD-ld} -melf32bsmip"
     151      ;;
     152    *N32*)
     153      LD="${LD-ld} -melf32bmipn32"
     154      ;;
     155    *64-bit*)
     156      LD="${LD-ld} -melf64bmip"
     157      ;;
     158    esac
     159   else
    147160    case `/usr/bin/file conftest.$ac_objext` in
    148161    *32-bit*)
     
    154167    *64-bit*)
    155168      LD="${LD-ld} -64"
     169      ;;
     170    esac
     171   fi
     172  fi
     173  rm -rf conftest*
     174  ;;
     175
     176ia64-*-hpux*)
     177  # Find out which ABI we are using.
     178  echo 'int i;' > conftest.$ac_ext
     179  if AC_TRY_EVAL(ac_compile); then
     180    case "`/usr/bin/file conftest.o`" in
     181    *ELF-32*)
     182      HPUX_IA64_MODE="32"
     183      ;;
     184    *ELF-64*)
     185      HPUX_IA64_MODE="64"
     186      ;;
     187    esac
     188  fi
     189  rm -rf conftest*
     190  ;;
     191
     192x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
     193  # Find out which ABI we are using.
     194  echo 'int i;' > conftest.$ac_ext
     195  if AC_TRY_EVAL(ac_compile); then
     196    case "`/usr/bin/file conftest.o`" in
     197    *32-bit*)
     198      case $host in
     199        x86_64-*linux*)
     200          LD="${LD-ld} -m elf_i386"
     201          ;;
     202        ppc64-*linux*|powerpc64-*linux*)
     203          LD="${LD-ld} -m elf32ppclinux"
     204          ;;
     205        s390x-*linux*)
     206          LD="${LD-ld} -m elf_s390"
     207          ;;
     208        sparc64-*linux*)
     209          LD="${LD-ld} -m elf32_sparc"
     210          ;;
     211      esac
     212      ;;
     213    *64-bit*)
     214      case $host in
     215        x86_64-*linux*)
     216          LD="${LD-ld} -m elf_x86_64"
     217          ;;
     218        ppc*-*linux*|powerpc*-*linux*)
     219          LD="${LD-ld} -m elf64ppc"
     220          ;;
     221        s390*-*linux*)
     222          LD="${LD-ld} -m elf64_s390"
     223          ;;
     224        sparc*-*linux*)
     225          LD="${LD-ld} -m elf64_sparc"
     226          ;;
     227      esac
    156228      ;;
    157229    esac
     
    569641
    570642hpux10.20*|hpux11*)
    571   lt_cv_deplibs_check_method=['file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
    572   lt_cv_file_magic_cmd=/usr/bin/file
    573   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     643  case $host_cpu in
     644  hppa*)
     645    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
     646    lt_cv_file_magic_cmd=/usr/bin/file
     647    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     648    ;;
     649  ia64*)
     650    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64']
     651    lt_cv_file_magic_cmd=/usr/bin/file
     652    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     653    ;;
     654  esac
    574655  ;;
    575656
Note: See TracChangeset for help on using the changeset viewer.