Re: clang/llvm 3.2: -ccc-host-triple:

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Mon, 24 Dec 2012 16:41:38 +0100
On 2012-12-24 16:24, O. Hartmann wrote:
> I try to compile a piece of software which uses LLVM as a backend (it is
> POCL, PortableOpenCL library). On a 10.0-CURRENT r244650M, the software
> fails du to an issued clang option -ccc-host-triple, which works well on
> FreeBSD 9.1-PRE, which uses still LLVM/CLANG 3.1.

What is the exact reason the software wants to use this (rather
undocumented) option?


> On the net, I find confusing informations about this option. It seems to
> be still in 3.1, but 3.2 doesn't accept it anymore.

Use -target instead.  But beware that cross-compilation does not work
out of the box on FreeBSD.
Received on Mon Dec 24 2012 - 14:41:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:33 UTC