Ignore:
Timestamp:
Apr 28, 2004, 6:58:06 AM (21 years ago)
Author:
bird
Message:

#1040: Joined the GCC 3.3.3 with the trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gcc/libtool.m4

    • Property cvs2svn:cvs-rev changed from 1.4 to 1.5
    r1393 r1394  
    184184    *ELF-64*)
    185185      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
    186228      ;;
    187229    esac
     
    602644  hppa*)
    603645    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library']
    604   lt_cv_file_magic_cmd=/usr/bin/file
    605   lt_cv_file_magic_test_file=/usr/lib/libc.sl
     646    lt_cv_file_magic_cmd=/usr/bin/file
     647    lt_cv_file_magic_test_file=/usr/lib/libc.sl
    606648    ;;
    607649  ia64*)
     
    609651    lt_cv_file_magic_cmd=/usr/bin/file
    610652    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
    611   ;;
     653    ;;
    612654  esac
    613655  ;;
     
    637679linux-gnu*)
    638680  case $host_cpu in
    639   alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* )
     681  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
    640682    lt_cv_deplibs_check_method=pass_all ;;
    641683  *)
Note: See TracChangeset for help on using the changeset viewer.