[PATCH] Use a non-empty test program to test ability to link

Sandra Loosemore sandra@codesourcery.com
Wed Feb 12 20:56:00 GMT 2020


On 2/10/20 3:58 PM, Joseph Myers wrote:
> On Sat, 8 Feb 2020, Sandra Loosemore wrote:
> 
>>>> BTW, I did run autoconf in every subdirectory that contains a
>>>> configure.ac,
>>>> but it appears only libstc++-v3 actually uses this test; all the other
>>>> regenerated configure scripts were unchanged.
>>>
>>> There's some problem with that regeneration, then; every directory where
>>> configure.ac mentions GCC_NO_EXECUTABLES should have a resulting change (I
>>> tested regenerating in libgcc/ with this patch applied and got such a
>>> change, for example).
>>
>> Hmmm.  I just tried that again and got nothing.  Do I have to do something
>> other than just run "autoconf" in that directory?  I'm always confused by
>> anything involving configuration changes.  :-(
> 
> Just running autoconf in that directory should suffice to get configure
> regenerated with the change.

Hmmm, I tried again and saw that autoconf didn't even touch the 
timestamp on the existing configure file, but I was able to force it to 
regenerate the files by removing the old ones first.  Is this version of 
the patch OK to check in?

-Sandra

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-a-non-empty-test-program-to-test-ability-to-link.patch
Type: text/x-patch
Size: 8366 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20200212/65efc16f/attachment.bin>


More information about the Libstdc++ mailing list