From: "Joseph S. Myers" <jos...@codesourcery.com> Date: Thu, 3 Nov 2011 00:22:49 +0000 (UTC)
> On Wed, 2 Nov 2011, David Miller wrote: > >> Actually the problem is that libgcc/config.host checks ${host} >> to decide whether to append config/sparc/t-softmul to the tmake >> variable. > > ${host} is the *target* when configuring target libraries. It doesn't represent the 'target' we're generating code for in a multilib instance so we can conditionalize off of it correctly. The only way sparc/t-softfp can be added to tmake is if the host matches sparc-*-* and that's what happens even when we're building the 64-bit libgcc in my case. It's sparc-*-* for both the 32-bit and 64-bit libgcc builds.