Subject: Re: how to use crosscompiler?
To: None <>
From: Valeriy E. Ushakov <>
List: tech-toolchain
Date: 02/03/2004 21:13:24
On Tue, Feb 03, 2004 at 19:01:18 +0100, Hubert Feyrer wrote:

> Well, I prefer Todd's solution with two symlinks:
> 	cd $TOOLDIR/vax--netbsdelf
> 	mv include include.BAK
> 	ln -s $VAXROOT/usr/include .
> 	mv lib lib.BAK
> 	ln -s $VAXROOT/usr/lib .
> 	PATH=`pwd`/bin
> 	export PATH

How does this handle .so's in $DESTDIR/lib?  Also note, that symlinks
from $DESTDIR/usr/lib are absolute symlinks to /lib, which is probably
now what you wnat on your host machine.

Also, with symlinks into the $DESTDIR (I actually use relative
symlinks) you can use nbamke-foo to update parts of your
cross-environment that physically resides in the $DESTDIR, so
nbmake-foo updates it there and cross tools pick it up via symlinks.

SY, Uwe
--                         |       Zu Grunde kommen            |       Ist zu Grunde gehen