This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [patch] Update build flags for new compiler feature
Dave Korn wrote:
>> Apparently. There's no line containing __wrap__Znaj in config.log.
>
> Yeh, that proves I'm using the wrong sort of autoconf test.
No it doesn't!
>> While you're at it, there is another problem. When building gcc-4.3.4
>> as cross, the auto-host.h file contains
>>
>> #ifndef USED_FOR_TARGET
>> /* #undef HAVE_GAS_ALIGNED_COMM */
>> #endif
>>
>> afterwards. That's quite unlucky, since options.c contains an
>> unconditional
>>
>> int use_pe_aligned_common = HAVE_GAS_ALIGNED_COMM;
>>
>> So, right now I had to define HAVE_GAS_ALIGNED_COMM to 1 manually in
>> auto-host.h.
Got it. The cygport-generated diffs don't include patches to the generated
configure scripts, only the *.ac templates, so you need to manually reconf the
sources after applying the patch. Check the cygport script for a list of
which directories need which auto* tool run on them (I haven't tried just
blindly autoreconf'ing the whole lot from top level but in theory that would
work too), and don't forget you need autoconf-2.59 and make-1.9.6.
cheers,
DaveK