[Bug target/100726] Error starting program: The libstdc++-6.dll file is linked to missing export KERNEL32.DLL:CreateHardLinkW on windows me

unlvsur at live dot com gcc-bugzilla@gcc.gnu.org
Sun May 23 14:33:03 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100726

--- Comment #7 from cqwrteur <unlvsur at live dot com> ---
(In reply to cqwrteur from comment #6)
> (In reply to Jonathan Wakely from comment #5)
> > (In reply to Andrew Pinski from comment #2)
> > > I really doubt anything before Windows XP is supported really.
> > 
> > I have no interest in making the filesystem library work on old versions of
> > Windows. If we expect libstdc++ to be usable there, that function should
> > just report an error on old versions.
> 
> I do not know whether there is a setting to disable filesystem in dll when
> we build GCC.
> 
> --disable-libstdcxx-filesystem-ts does not seem to work.
> 
> Just disable it.

And do not define feature testing macro __cpp_lib_filesystem


More information about the Gcc-bugs mailing list