[cfe-dev] Compiling a simple Win32 program

Kim Gräsman kim.grasman at gmail.com
Thu Jun 7 05:33:45 PDT 2012


(+list)

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



More information about the cfe-dev mailing list