Date: Wed, 18 Aug 2010 15:13:44 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Dimitry Andric <dimitry@andric.com> Cc: current@freebsd.org Subject: Re: Building world with clang Message-ID: <86k4no9i7r.fsf@ds4.des.no> In-Reply-To: <4C6BDB80.9000004@andric.com> (Dimitry Andric's message of "Wed, 18 Aug 2010 15:09:20 %2B0200") References: <4C6A7357.8000606@andric.com> <20100817091515.4510ebfd@kan.dnsalias.net> <4C6A9AE7.3060704@andric.com> <86aaokb7so.fsf@ds4.des.no> <4C6BDB80.9000004@andric.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dimitry Andric <dimitry@andric.com> writes: > Dag-Erling Sm=C3=B8rgrav <des@des.no> writes: > > No, what is used is a variant of method 1 *on top of* method 2 for a > > very specific case. You need "a special version of clang" (method 2) > > anyway to support cross-building. > Eventually, clang should support building objects for all targets from > one executable, but not in the short term, unfortunately... That doesn't matter. You still need two versions of the compiler. If you're cross-building sprac64 on an i386 machine, for instance, you need an i386 version of the compiler that produces sparc64 binaries *and* a sparc64 version that produces sparc64 binaries. The former is used only during the build, the latter is what will be installed on the target. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k4no9i7r.fsf>