Subject: Re: Problem during "make build", with current snapshot
To: maximum entropy <entropy@zippy.bernstein.com>
From: Jonathan Stone <jonathan@DSG.Stanford.EDU>
List: port-pmax
Date: 10/27/1997 03:39:03
Actually, could you try doing a make clean, and rerunning config
and remaking after applying the following patch?
It just turns on ECOFF targets as well as the default
little- and big- endian ELF targets.
The binaries I've been shipping actually had 64-bit targets too-- just
like the OpenBSD mipsel targets -- but you must turn those off if
producing a libbfd to link against GDB as well. (binutils and libbfd
can handle different wordsizes, gdb can't, yet.)
You'd probably need to do this before trying to build a `shared'
library. Though i don't know if the machinery to do that is all in the
GNU makefiles..
*** binutils-2.8.1/bfd/config.bfd.DIST Sat May 31 19:46:43 1997
--- binutils-2.8.1/bfd/config.bfd Mon Oct 27 03:14:17 1997
***************
*** 337,343 ****
;;
mips-dec-netbsd*)
targ_defvec=bfd_elf32_littlemips_vec
! targ_selvecs=bfd_elf32_bigmips_vec
;;
mips*-dec-bsd*)
targ_defvec=aout_mips_little_vec
--- 337,343 ----
;;
mips-dec-netbsd*)
targ_defvec=bfd_elf32_littlemips_vec
! targ_selvecs="bfd_elf32_bigmips_vec ecoff_little_vec ecoff_big_vec"
;;
mips*-dec-bsd*)
targ_defvec=aout_mips_little_vec
***************
*** 398,403 ****
--- 398,407 ----
mips*el*-*-linux* | mips*el*-*-openbsd*)
targ_defvec=bfd_elf32_littlemips_vec
targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_little_vec ecoff_big_vec"
+ ;;
+ mips*el*-*-netbsd*)
+ targ_defvec=bfd_elf32_littlemips_vec
+ targ_selvecs="bfd_elf32_bigmips_vec ecoff_little_vec ecoff_big_vec"
;;
mips*-*-linux* | mips*-*-openbsd*)
targ_defvec=bfd_elf32_bigmips_vec
--Jonathan