[cfe-dev] Compiling a simple Win32 program
kim.grasman at gmail.com
Fri Jun 8 00:52:31 PDT 2012
On Fri, Jun 8, 2012 at 9:49 AM, Nikola Smiljanic <popizdeh at gmail.com> wrote:
>> It should work, though, thanks to 32-bit virtualization, right?
> Not really, default triple represents Clang's default target. I'm using
> 32-bit Clang on 64-bit Windows and this will work as long as I target x86.
> But if I target x64 the code that I have right now will select the cross
> tools. The check should be the same, but this information should be about
> the OS, not the default target.
I don't see the immediate problem with it using the cross tools. You
ran a 32-bit compiler, why not run a 32-bit linker as long as it
produces correct x64 code?
More information about the cfe-dev