Subject: Re: Compiling -current on pmax
To: Albert Chin-A-Young <china@pprd.abbott.com>
From: Castor Fu <castor@geocast.net>
List: port-pmax
Date: 07/23/1998 07:33:28
> all ===> gnu/usr.bin/binutils/c++filt
> sh /usr/src/gnu/usr.bin/binutils/c++filt/mkunderscore.sh mips-unknown-netbsd /usr/src/gnu/usr.bin/binutils/c++filt/../../../dist/bfd/config.bfd > underscore.c
> *** BFD does not support target mips-unknown-netbsd.
> *** Look in bfd/config.bfd for supported targets.
> 
> The problem is /usr/src/gnu/dist/bfd/config.bfd. It doesn't know about
> "mips-unknown-netbsd". Pulling the following from the binutils 2.9.1
> distribution fixed the problem:
> 
>  mips*-*-netbsd*)
>     targ_defvec=bfd_elf32_bigmips_vec
>     targ_selvecs="bfd_elf32_littlemips_vec ecoff_big_vec ecoff_little_vec"
>     ;;

In this case, it'd be better to figure out how to identify the pmax.
I guess this belongs in config.guess in /usr/src/gnu/dist/config.guess.

The newsmips port is big-endian.