This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch mingw]: Add multilib support for i?86-w64-mingw32 target
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Kai Tietz <ktietz70 at googlemail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Danny Smith <dansmister at gmail dot com>, Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Date: Sun, 13 Sep 2009 14:53:16 +0000 (UTC)
- Subject: Re: [patch mingw]: Add multilib support for i?86-w64-mingw32 target
- References: <90baa01f0909121104o79018810p3d9d547539694257@mail.gmail.com>
On Sat, 12 Sep 2009, Kai Tietz wrote:
> Hello,
>
> this patch enables the build of the i?86-w64-mingw32 target for
> multilib version. Additional it fixes for the x86_64-*-mingw32 target
> the used hwint and the use_long_long_for_widest_fast_int. I added to
> cygwin host configuration in config.host the
> use_long_long_for_widest_fast_int, too. If there are objections about
> this please let me know (I'll remove it). But as far as I could see,
> it should cause any penalties for cygwin.
Setting use_long_long_for_widest_fast_int for some i?86 hosts but others
seems misconceived. Why should long long be faster on 32-bit Cygwin or
MinGW than on 32-bit GNU/Linux? It should be set either for all 32-bit
i?86 hosts or none of them. (Setting for *64-bit hosts where long is
32-bit* is appropriate - x86_64-*-mingw* is one such, another case is the
preexisting setting for ia64-*-hpux*, and it would also be appropriate for
mips64*-*-linux* and mipsisa64*-*-linux*.)
--
Joseph S. Myers
joseph@codesourcery.com