[cfe-dev] Compiling a simple Win32 program
kim.grasman at gmail.com
Tue Jun 12 05:23:09 PDT 2012
On Tue, Jun 12, 2012 at 2:02 PM, Nikola Smiljanic <popizdeh at gmail.com> wrote:
> 2. There is a much better way to solve the problem of choosing the linker.
> Clang should look for the active linker using the environment variables.
> This way it will always find "the right one", provided that Clang was
> invoked through desired Visual Studio Tools Command Prompt (running
> vcvars.bat is also an option). The same should go for msys. This is what I
> plan to do next, at least the Visual Studio part since I know very little
> about msys. The patch that was attached in this thread can be safely ignored
That sounds like it would match my expectations for behavior, good idea!
Can you have it fall back on %PATH% if no VS environment variables are found?
More information about the cfe-dev