[cfe-dev] Executable search on MinGW32

Dimitry Andric dimitry at andric.com
Thu Oct 15 11:15:44 PDT 2009


Hi,

I have been trying to get clang working with MinGW32, and ran into a
number of minor problems.  One of them is the way executables (e.g.
clang-cc, as, ld) are searched, usually with GetProgramPath().  On
Windows, these executables need to have ".exe" appended to be found.

This needed changes in both clang and llvm.  Please see the attached
diffs.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: clang-findexe.diff
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091015/ef5c82d6/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: llvm-findexe.diff
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091015/ef5c82d6/attachment-0001.ksh>


More information about the cfe-dev mailing list