[llvm-dev] Building For x64 Windows using LLVM

Reid Kleckner via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 10 10:32:44 PDT 2019


It should work if you remove -Xclang. clang-cl will recognize -m64.

The clang -cc1 interface that clang-cl delegates to doesn't recognize -m64.
It's implemented purely in the driver above the -cc1 invocation.

On Thu, Oct 10, 2019 at 7:48 AM Osman Zakir via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> I'm trying to do it by passing "-Xclang -m64" on the VS2019 command line
> options panel but it gives the error "unknown argument" on "-m64".  How do
> I do it?  Thanks in advance.
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191010/48050670/attachment.html>


More information about the llvm-dev mailing list