Re: Building world with clang

From: Dag-Erling Smørgrav <des_at_des.no>
Date: Wed, 18 Aug 2010 15:13:44 +0200
Dimitry Andric <dimitry_at_andric.com> writes:
> Dag-Erling Smørgrav <des_at_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
-- 
Dag-Erling Smørgrav - des_at_des.no
Received on Wed Aug 18 2010 - 11:13:47 UTC

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