Subject: A cross-compiling environment for NetBSD
To: None <port-i386@NetBSD.ORG>
From: Valtteri Vuorikoski <>
List: port-i386
Date: 09/15/1996 17:15:31
 I'm attempting to make a cross-compiling environment for NetBSD/i386
hosted on Solaris/sparc 2.5. While the compiler (gcc works,
the as and ld from binutils 2.7 produce output that differs from the
one generated with NetBSD's as and ld. This apparently leads to
binaries assembled from object files produced by the cross-assembler
and linked on the NetBSD box dying with a segmentation fault in
__main. Same happens with binaries generated by the cross-linker,
whether assembled on the NetBSD box or the cross-assembler.

 The as that comes with NetBSD seems to be bastardized enough that it
would be rather painful to compile it on Solaris.