[Bug ada/81878] --disable-bootstrap --enable-languages=ada fails

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Oct 16 11:23:00 GMT 2018


--- Comment #35 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> Sorry for the delay getting back to you Eric.

No problem.

> So the workaround I have is basically to have a dummy program
> `translate_paths.c` which just prints back all arguments it receives in argv
> (besides the program name).
> This when compiled with the host compiler which is a native GCC will cause
> the msys2 runtime to translate the paths when they're passed to it (it
> doesn't do this for gnatlink because of the quotes around the arguments).

That seems like a big hammer though and I'm not sure other Ada maintainers will
really be thrilled with it...  Can't we devise a kludge in the gnattools dir?
IMO it would have a far better chance of being accepted than this.

More information about the Gcc-bugs mailing list