Re: Clang targetting x64 linker

2021-03-16 Thread Maxim Kuvyrkov
ox wrote: >>> >>> Hi >>> >>> I was trying "clang hello.c" from command line, but "clang-cl hello.c" >>> gives me the same error. I am unsure if this is what you mean but neither >>> work. >>> >>> Thanks, >

Re: Clang targetting x64 linker

2021-03-04 Thread Maxim Kuvyrkov
> >> On 4 Mar 2021, at 19:43, Joel Cox wrote: >> >> Hi >> >> I was trying "clang hello.c" from command line, but "clang-cl hello.c" gives >> me the same error. I am unsure if this is what you mean but neither work. >> >> T

Re: Clang targetting x64 linker

2021-03-04 Thread Maxim Kuvyrkov
riginal Message- > From: Maxim Kuvyrkov > Sent: 04 March 2021 16:40 > To: Joel Cox > Cc: linaro-toolchain@lists.linaro.org > Subject: Re: Clang targetting x64 linker > > Hi Joel, > > Are you using clang-cl.exe as compiler/linker driver? It’s easiest to use >

Re: Clang targetting x64 linker

2021-03-04 Thread Maxim Kuvyrkov
Hi Joel, Are you using clang-cl.exe as compiler/linker driver? It’s easiest to use clang-cl.exe as it aims to be a direct replacement for MSVC’s cl.exe, but will use LLVM tools. In particular, when clang-cl.exe uses LLVM Linker (LLD) by default. If you are using linux-style clang.exe as the