Subject: Cross compilation
To: Netbsd tech-toolchain mailing list <tech-toolchain@netbsd.org>
From: KKO <kko@epia1.homeunix.net>
List: tech-toolchain
Date: 11/25/2002 13:31:27
I've been trying to set up a NetBSD development environment on my OpenBSD
machine, and I tried to build a toolchain for hpcsh cross-development using:

$ ./build.sh -m hpcsh -T /home/muyser/netbsd/cross -t

I got a bunch of errors (macros with no semicolons at the end, some missing includes, and a gdb that did not support OpenBSD) that I worked around but now I get the following:

rm -rf /home/kko/netbsd/cross/lib/gcc-lib/shle--netbsdelf/2.95.3/include
mkdir /home/kko/netbsd/cross/lib/gcc-lib/shle--netbsdelf/2.95.3/include
chmod a+rx
/home/kko/netbsd/cross/lib/gcc-lib/shle--netbsdelf/2.95.3/include
(cd `pwd`/include ;  tar -cf - .; exit 0) | (cd
/home/kko/netbsd/cross/lib/gcc-lib/shle--netbsdelf/2.95.3/include; tar
xpBf - )
/bin/sh: cd: /home/kko/netbsd/src/tools/toolchain/obj/build/gcc/include -
No such file or directory
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
*** Error code 1

Stop.
nbmake: stopped in /home/kko/netbsd/src/tools/toolchain/obj/build/gcc
*** Error code 1

Stop.
nbmake: stopped in /home/kko/netbsd/src/tools/toolchain/obj/build
*** Error code 1

Stop.
nbmake: stopped in /home/kko/netbsd/src/tools/toolchain
*** Error code 1

Stop.
nbmake: stopped in /home/kko/netbsd/src/tools

Has anybody else had this problem?