[cfe-commits] Support for gcc 4.5.2 on MSYS (MinGW shell)

Douglas Gregor dgregor at apple.com
Sun Mar 6 10:09:20 PST 2011

On Mar 5, 2011, at 6:47 AM, Matthieu Monrocq wrote:

> Hello,
> the enclosed patch adds support for gcc4.5.2 in mingw, supposing the msys shell.
> I was surprised to see that the path for MinGW is hard-coded to c:/MinGW (which didn't work for me as I installed it on my d: drive....) and was wondering if there was a more "universal" path to access MinGW.

I don't think we have that notion.

> Using msys I can access it thanks to /mingw, regardless of where it's physically stored, which is much more pleasant... but I guess doesn't work without msys.
> If the paths are inconsistent between MinGW and msys, then I was wondering if it would be suitable to add a Msys Triple ?

I'd rather we put more brains into the driver to actually find the right toolchain. This "Universal Driver" work has to happen at some point :(

> Anyway this patch adds gcc 4.5.2 in the list of paths to search, feel free to mingwise the paths / remove the msys path if you feel like it.

Committed as r127124.

  - Doug

More information about the cfe-commits mailing list