This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: bfd/configure has been regenerated
- From: Kai Tietz <Kai dot Tietz at onevision dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 25 Sep 2006 16:00:09 +0200
- Subject: Re: bfd/configure has been regenerated
As I saw the configuration the x86_64 mingw64 target inherits the ELF
object format ...
i.A. Kai Tietz
"H. J. Lu" <hjl@lucon.org>
25.09.2006 15:56
To
Kai Tietz <Kai.Tietz@onevision.com>
cc
binutils@sources.redhat.com
Subject
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.