Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2012 16:41:38 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        Current FreeBSD <freebsd-current@FreeBSD.org>
Subject:   Re: clang/llvm 3.2: -ccc-host-triple:
Message-ID:  <50D877B2.60006@FreeBSD.org>
In-Reply-To: <50D8739F.4040306@zedat.fu-berlin.de>
References:  <50D8739F.4040306@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50D877B2.60006>