* Daniel Jacobowitz:

> How would you feel about a patch that made us always pass --64
> as appropriate, at least if the assembler in question is gas?  I
> periodically bootstrap on a 64-bit kernel with a 32-bit root FS.  But
> the assembler and linker are biarch, and the 64-bit libs are installed,
> so it's just the defaults that are wrong.  If we were explicit, an
> x86_64-linux compiler would Just Work.

You still need some script hackery for objcopy and friends, I think,
that's why I didn't pursue the matter further.

Apart from that, the following entry from the specs file seems to
work (GAS does the right think with multiple --32/--64 options):

*asm:
%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} %{!m64:--32} 
%{m64:--64} %{m32:--32}

Reply via email to