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

看板FB_current作者時間12年前 (2013/04/27 13:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig871E72B33B6A23CE2653C2DB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 softwar= e >> 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. >=20 > 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. >=20 >=20 >> 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. >=20 > 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. --------------enig871E72B33B6A23CE2653C2DB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQ2NsKAAoJEOgBcD7A/5N8BVkIAKgr1AH2hj6SSqUOwlAz+OhQ /vORXsB8bk9VKhNCbXQR1lauTd2oVZP8NGjOMba2SfyjmpiOyZsmUSkNtKd1u42x kdT4AOSeRDum38Nl8TtvJgYlil2c9koeYgQGAnzBMIZPx9GEEXJgndxmxpwyD+lN q9h3i5Bo9RBf+BxsB4o1x2q6EUmQXGqJ4qp831EtGga+iNgVUtzunppajRRcB8hG 8sgJpJ70gEYUreRYJqcp1vFzJSG7ELOAW3MiqzXafUJOC/v0AzjPfq4A7vdh9G4p vXjuljId28r7i2naV7k9zcbprC+P79fcK3eRjoHYtj//xnx0X7vI3tmbrcuEjVY= =EbnX -----END PGP SIGNATURE----- --------------enig871E72B33B6A23CE2653C2DB--
文章代碼(AID): #1HUrkmT4 (FB_current)
文章代碼(AID): #1HUrkmT4 (FB_current)