clang/llvm 3.2: -ccc-host-triple:
O. Hartmann
ohartman at zedat.fu-berlin.de
Mon Dec 24 22:45:32 UTC 2012
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20121224/d474c065/attachment.sig>
More information about the freebsd-current
mailing list