This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [patch mingw]: Add multilib support for i?86-w64-mingw32 target


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


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