Dimitry Andric <dimi...@andric.com> writes:
> Dag-Erling Smørgrav <d...@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 - d...@des.no
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to