-
Notifications
You must be signed in to change notification settings - Fork 448
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
Ability to cross-compile MASM files #1022
Comments
Thanks, I think option 1 and option 3 makes sense. Fallback to Though I wonder if we could use existing env variable |
But you're saying "assume you want an LLVM assember if you want an LLVM archiver"? |
Thanks for correction, yeah I mixed them up In that case having a |
Since there's no "standard" env var name for this maybe |
Yeah, having |
LLVM has a MASM assembler,
llvm-ml
, which can perform the tasks of ml.exe and ml64.exe (with the -m64 flag), that can be used when cross-compiling to Windows.Currently, these .exe names are hardcoded, which feels a bit kludgy, but at least there is the woarkaround of adding a script like
which does indeed work. Ideally cc-rs could be taught about llvm-ml though. I see a few options, that may not be mutually exclusive:
Thoughts?
The text was updated successfully, but these errors were encountered: