Subject: can't crossbuild arm on Solaris 10
To: None <tech-toolchain@NetBSD.org>
From: Garrett D'Amore <garrett@damore.org>
List: tech-toolchain
Date: 06/19/2006 12:07:58
Anytime I try to cross build any arm-based port using
./build.sh -T ${METEOR_TOOLS} -m shark tools
(or for evbarm, iyonix, etc.) I get errors. The hard error looks like
it might be due to binutils trying to use /bin/sh instead of
/usr/xpg4/bin/sh. I can't seem to figure out how to tell it to use my
${HOST_SH}, which is /usr/xpg4/bin/sh.
*** Failed target: earmelf.c
*** Failed command: LIB_PATH='' /bin/sh
/home/garrett/netbsd/src/tools/binutils/../../gnu/dist/binutils/ld/genscripts.sh
/home/garrett/netbsd/src/tools/binutils/../../gnu/dist/binutils/ld
/import/meteor/tools/SunOS-i386/lib "/import/meteor/tools/SunOS-i386"
i386-pc-solaris2.10 arm--netbsdelf arm--netbsdelf "armelf_nbsd"
"/usr/local/lib /lib /usr/lib" no armelf "arm--netbsdelf"
*** Error code 1
Any advice (or even a fix) would be appreciated.
Thanks.
-- Garrett