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

From: O. Hartmann <ohartman_at_zedat.fu-berlin.de>
Date: Mon, 24 Dec 2012 23:45:29 +0100
Am 12/24/12 16:41, schrieb Dimitry Andric:
> 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?

Obviously, the make environment sets this in a couple of files.
> 
> 
>> 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.

The target is POCL, and as OpenCL naturally acts like, it is cross
compiling.

Thank you for the hint. I tried to follow some threads about this option
and they seem to confuse it with --ccc-target-triple.




Received on Mon Dec 24 2012 - 21:45:31 UTC

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