This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bfd/configure has been regenerated


On Mon, Sep 25, 2006 at 09:41:48AM +0200, Kai Tietz wrote:
> You are right, the libtool.m4 was modified for this. The patch should be 
> something like
> 
> --- src/libtool.m4      2005-12-27 17:37:57.000000000 +0100
> +++ src_conf/libtool.m4 2006-09-25 09:28:44.054437900 +0200
> @@ -191,14 +191,14 @@
>    rm -rf conftest*
>    ;;
>  
> -x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
> +x86_64-*linux*|x86_64-*mingw64*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
>    # Find out which ABI we are using.
>    echo 'int i;' > conftest.$ac_ext
>    if AC_TRY_EVAL(ac_compile); then
>      case "`/usr/bin/file conftest.o`" in
>      *32-bit*)
>        case $host in
> -        x86_64-*linux*)
> +        x86_64-*linux*|x86_64-*mingw64*)
>            LD="${LD-ld} -m elf_i386"
>            ;;
>          ppc64-*linux*|powerpc64-*linux*)
> @@ -214,7 +214,7 @@
>        ;;
>      *64-bit*)
>        case $host in
> -        x86_64-*linux*)
> +        x86_64-*linux*|x86_64-*mingw64*)
>            LD="${LD-ld} -m elf_x86_64"
>            ;;
>          ppc*-*linux*|powerpc*-*linux*)
> 

It doesn't look right to me. I don't think x86-64 PE uses ELF.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]