[Bug driver/108350] Windows: invoking gcc via symlink does not work

i.nixman at autistici dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 10 13:49:54 GMT 2023


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

--- Comment #8 from niXman <i.nixman at autistici dot org> ---

> Yes, or them together: `FILE_NAME_NORMALIZED | VOLUME_NAME_DOS`.
> 
> - `FILE_NAME_NORMALIZED` is needed to actually perform the symbolic link
> resolution.
> 
> - `VOLUME_NAME_DOS` is needed to translate the internal NT device name to
> the familiar Win32 drives (X:). This may fail with
> `ERROR_UNRECOGNIZED_VOLUME` which is why I recommended to use
> GetFullPathName as a fallback mechanism.

done, thanks!

in building process... will report.


More information about the Gcc-bugs mailing list