-
Notifications
You must be signed in to change notification settings - Fork 811
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can clang compile 64-bit code? #122
Comments
As it turns out, none of my code is compiled as 64-bit. Even though the MSBuild |
You're right, clang/c2 for Objective-C does not presently support codegen for x64. This is something we're aware of. ARM support and optimizations have higher priority than x64 code generation, so I would expect to see support after those. |
Clang can now do this, but the rest of WinObjC can't! |
I was trying to manually compile some code as 64-bit, but when I pass the
-m64
flag to WinObjC clang, it fails with the following error:It seems that the MSVC 64-bit backend is missing. However, the rest of my project is also marked as 64-bit (using the MSBuild
$(Platform)
variable), and compiles just fine. What is going on here? Is there another flag I need to pass to Clang to get it to compile correctly as 64-bit?The text was updated successfully, but these errors were encountered: