[cfe-dev] Compiling a simple Win32 program

Nikola Smiljanic popizdeh at gmail.com
Thu Jun 7 05:39:33 PDT 2012

I think that Clang records the exact version of Visual Studio it was
compiled with, so there should be only one "right" linker?

On Thu, Jun 7, 2012 at 2:32 PM, Kim Gräsman <kim.grasman at gmail.com> wrote:

> Hi Nikola,
> On Thu, Jun 7, 2012 at 2:29 PM, Nikola Smiljanic <popizdeh at gmail.com>
> wrote:
> > I forgot to handle the 64bit tool chain, hope this is the right approach.
> >
> > I'm also not sure what to do with the cross tools? Maybe a check if
> we're on
> > a 32bit platform but targeting a 64bit one?
> Thanks for the effort!
> Maybe that's part of why it was cleaner to fall back on the
> environment having the "right" linker in the path?
> I have three versions of Visual Studio installed side-by-side, and
> usually run their respective environment setup script (vsvars32.bat)
> to wire up a shell with the right toolchain. That could be considered
> a feature of the current approach...
> - Kim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120607/89900fca/attachment.html>

More information about the cfe-dev mailing list