[Bug preprocessor/107974] compiler can't find source file in path that is longer than 255 characters
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment #7 from nightstrike --- Someone with build system experience could modify the build of the toolchain binaries to include a call to windres to add the manifest. This would just be gcc itself and not what gcc produces. I guess maybe the binutils executables would benefit also.
[Bug preprocessor/107974] compiler can't find source file in path that is longer than 255 characters
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED |WAITING Last reconfirmed||2022-12-05 --- Comment #6 from Andrew Pinski --- I would suspect this is a standard issue with all mingw projects so maybe it is best to talk with them on how to solve this overall.
[Bug preprocessor/107974] compiler can't find source file in path that is longer than 255 characters
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 --- Comment #5 from Cristian Adam --- Created attachment 54016 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54016=edit gcc long path working
[Bug preprocessor/107974] compiler can't find source file in path that is longer than 255 characters
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 --- Comment #4 from Cristian Adam --- The manifest file is being mentioned at https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry
[Bug preprocessor/107974] compiler can't find source file in path that is longer than 255 characters
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 --- Comment #3 from Cristian Adam --- I've used the manifest tool from Visual C++ (mt.exe) to inject this manifest: http://schemas.microsoft.com/SMI/2016/WindowsSettings;> true with the command line: mt.exe -nologo -manifest "cc1plus.exe.manifest" -outputresource:"cc1plus.exe;#1" And I was able to compile the hello.cpp source file!