Subject: help cross-building userland
To: None <port-cobalt@netbsd.org>
From: Byron Servies <bservies@pacang.com>
List: port-cobalt
Date: 01/20/2003 22:17:06
Hi,

I am having trouble cross-building a qube2 1.6 STABLE
distribution on an i386 machine.  I'm using:

	/usr/src/build.sh -m cobalt -M /usr/obj/cobalt \
		-D /exports/testqube-1.6/root -t

to try and get the toolchain up, but it fails with
libiconv.so.2 not found:

> /bin/sh /usr/src/tools/toolchain/../../gnu/dist/toolchain/gas/../ylwrap "bison -y" /usr/src/tools/toolchain/../../gnu/dist/toolchain/gas/itbl-parse.y y.tab.c itbl-parse.c y.tab.h itbl-parse.h -- -d
> Shared object "libiconv.so.2" not found
> *** Error code 1
>
> Stop.
> nbmake: stopped in /usr/obj/cobalt/usr/src/tools/toolchain/build/gas
> *** Error code 1

I cross build the kernel frequently, but have not tried
to build the rest before.

Can anybody point me to what I am doing wrong, or the appropriate manual?

Thanks,

Byron