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

Dimitry Andric dim at FreeBSD.org
Mon Dec 24 15:41:48 UTC 2012


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.


More information about the freebsd-current mailing list