Making *-netbsd-* to mean ELF not a.out for all CPUs
Maciej W. Rozycki
macro@orcam.me.uk
Tue Jul 20 17:14:32 GMT 2021
On Fri, 11 Jun 2021, John Ericson wrote:
> I would like to propose that GNU tools consistently interpret configs
> with "netbsd" as meaning ELF as opposed to a.out. Currently, newer CPUs
> do that, but older ones have "netbsd" mean a.out for historical reasons,
> and "netbsdelf" is used instead. This inconsistency is a bit of a
> nuisance to my distro / package set[2] which aims to support cross
> compilation to/from arbitrary platforms without special cases. Other
> platforms that formerly used a.out (like Linux) have long since changed
> the default to be ELF, so I don't know why NetBSD shouldn't too.
Have you verified that `config.guess' with DTRT to complement your change
when indeed natively run on an old a.out installation of NetBSD?
Maciej
More information about the Binutils
mailing list