Thank you. So the ABI in llvm will be "gnu" for all Linux distributions? On Monday, June 5, 2017 11:39 PM, Tim Northover <t.p.northover at gmail.com> wrote: On 5 June 2017 at 11:54, Iulia Stirb <iulia_s24 at yahoo.com> wrote:> Can you also please tell me how can I find out the ABI (application binary > interface)?Could you send your messages with a smaller font, or better still in plain text? It's very distracting and quite difficult to read (particularly your message about the errors MSVC was giving). Anyway, your ABI will be determined by which OS you're compiling for in almost all cases. And if you're building Clang on the same platform you're running the binaries on that should be correctly detected when you run CMake. Otherwise you'll have to set the LLVM_DEFAULT_TARGET_TRIPLE CMake variable. Typical values are "x86_64-linux-gnu", "x86_64-apple-macosx10.12" or "x86_64-windows-msvc". That will also set the corresponding ABI. Cheers. Tim. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170606/8a18314c/attachment.html>
On 6 June 2017 at 10:46, Iulia Stirb <iulia_s24 at yahoo.com> wrote:> Thank you. So the ABI in llvm will be "gnu" for all Linux distributions?The last part of the triple will always be "gnu" for x86, yes. The ABI itself I might call GNU, or SysV depending on exactly what I'm talking about. Cheers. Tim.
I want to cross-compile using clang and I have to specify the following triple: <arch><sub>-<vendor>-<sys>-<abi>I know that sub-architectures ("sub" in the triple) for x86_64 Intel Xeon processors could be v2 for ivy bridge or v3 for haswell or v4 etc. Could you please answer: which version of sub-architecture is considered sandy bridge for Intel® Xeon® processor E5-4600/2600/1600 product family (I am thinking it could be v1 or v0 in llvm)? Thank you. On Wednesday, June 7, 2017 1:05 AM, Tim Northover <t.p.northover at gmail.com> wrote: On 6 June 2017 at 10:46, Iulia Stirb <iulia_s24 at yahoo.com> wrote:> Thank you. So the ABI in llvm will be "gnu" for all Linux distributions?The last part of the triple will always be "gnu" for x86, yes. The ABI itself I might call GNU, or SysV depending on exactly what I'm talking about. Cheers. Tim. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170608/ab9292cb/attachment.html>