[patch ada]: Fix issues about multilib build of native windows and handle MSG_WAITALL for windows native targets

Kai Tietz ktietz70@googlemail.com
Mon Mar 28 10:01:00 GMT 2011


2011/3/28 Arnaud Charlet <charlet@adacore.com>:
>> I split patch into two. ada_w_multi.txt contains just the
>> gcc-interface/Makefile.in change and the ada_wt.txt the MSG_WAITALL
>> patch.
>
> Thanks. Actually raise-gcc.c is yet another issue.
>
> Could you please resubmit under three different emails/threads your
> 3 different patches, so that they can be reviewed and OKed independently
> (and potentially by different people)? TIA.
>
>> The issue is that on creation of .dll the linker has to know for
>> multilib for which target it should work. By specifying to frontend
>> the -m32/-m64 the internal spec-file takes care that proper options
>> are passed to ld.
>
> Thanks for the clarification.
>
>> > Concerning the setting of EH_MECHANISM, it's time to set ZCX to True by
>> > default on Windows 32bits as well, and set EH_MECHANISM=-gcc on all
>> > Windows variants IMO.
>>
>> Well, here I am not that sure.  As mingw.org is still using the
>> dw2-unwinding, but there is also the sjlj one, I am a bit concerned to
>> make EH_MECHANISM=-gcc default. Same is the case for the ZCX flag, but
>> I might overlook here something obvious.
>
> We've been using ZCX by default at AdaCore for several years now, so it's
> time to switch the default at the FSF as well I think, in particular since
> you are suggesting a patch that will make Makefile.in more complex (and
> hence harder to maintain) for no reason without this change.
>
> Arno
>

Ok, done.

Kai



More information about the Gcc-patches mailing list