Skip to content

Commit 2836263

Browse files
committed
Enable long path support on Windows host
Declare `longPathAware` in the GCC executable manifest to allow GCC executables to address paths longer than `MAX_PATH`, which is 260 characters, on Windows hosts. Note that this alone is not sufficient to enable long path support on Windows; the corresponding registry key must also be enabled. For more details, refer to the Microsoft documentation [1]. [1] https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent 53e0d57 commit 2836263

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gcc/config/i386/winnt-utf8.manifest

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<application>
44
<windowsSettings>
55
<activeCodePage xmlns="http://schemas.microsoft.com/SMI/2019/WindowsSettings">UTF-8</activeCodePage>
6+
<longPathAware xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">true</longPathAware>
67
</windowsSettings>
78
</application>
89
</assembly>

0 commit comments

Comments
 (0)