[PATCH v2] libstdc++: Add symlink support on Windows

2025-07-21 Thread Adam Wood
I forgot to wrap windows_create_symlink in a #ifdef in the first version, so I added the #ifdef _GLIBCXX_FILESYSTEM_IS_WINDOWS. That is the only change. This patch adds symlink support on Windows. I tested it on x86_64-w64-mingw32 with msys2. A few notes about this patch: 1. Symlinks can only be

[PATCH] libstdc++: Add symlink support on Windows

2025-07-21 Thread Adam Wood
This patch adds symlink support on Windows. I tested it on x86_64-w64-mingw32 with msys2. A few notes about this patch: 1. Symlinks can only be created while running as admin, or if Developer Mode is enabled on Windows 10/11. 2. Symlinks on Windows are either file symlinks or directory symlinks