Subject: Re: cross/arm-netbsd and cross/i386-netbsd pkg
To: Kazuki Sakamoto <>
From: Bill Studenmund <>
List: tech-toolchain
Date: 12/06/1999 10:02:08
On Mon, 6 Dec 1999, Kazuki Sakamoto wrote:

> I've made arm-netbsd and i386-netbsd(yes, for a.out-i386-netbsd)
> cross package. It is just only work for Makefile :-)
> 	cd /usr/pkgsrc/cross; patch -p1 < /tmp/cross-arm-i386-pkg.diffs

As best that I can tell from this, you have not changed any of the header
files, and you're trying to use binutils gas and ld in this package.

The problem is that the changes needed to make binutils handle NetBSD's
a.out shared libraries were never integrated into binutils. So the above
package wouldn't do shared libraries.

Also, as Bill Sommerfeld pointed out, some of the a.out header fields are
encoded as a bitfield. Different NetBSD platforms pack bitfields
differently. :-)

Take care,