On Mon, 1 May 2017, Palmer Dabbelt wrote:

> > Specifically, in such cases the GCC configure option is
> > --enable-target=all to enable 64-bit multilibs for a default-32-bit
> > target, and the binutils/GDB configure option is --enable-64-bit-bfd.  But
> > you can also make a binutils/GDB target include 64-bit support
> > unconditionally without requiring --enable-64-bit-bfd.
> 
> Do you happen to know how to do that (enable 64-bit BFDs in a 32-bit binutils
> build)?  I'd prefer to have the riscv32 and riscv64 ports the same if 
> possible,
> but poked around a bit and couldn't find a way to do it.

Well, certainly you should add riscv_elf64_vec to targ_selvecs in 
config.bfd for the riscv32-*-* case.  Generally, check all the configure 
fragments used for riscv* to make sure they include both 32-bit and 64-bit 
support.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to