Subject: Re: debugging libraries in the cross development environment
To: None <tech-toolchain@netbsd.org>
From: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
List: tech-toolchain
Date: 09/02/2006 05:14:34
On Fri, Sep 01, 2006 at 16:44:07 -0700, Bucky Katz wrote:

> I need to debug libpthread in a cross platform environment, building
> on x86 and installing on arm. Obviously, I can edit the files and then
> use build.sh to make a distribution. But that ends up taking about 10
> minutes on every recompile.  So I tried figuring out how to use
> nbmake-evbarm to just do the makes in the libpthread directory, but
> ran afould of the interaction between libpthread and libc.

Once you did build.sh distribution you can build individual pieces by
going to (in your case) /usr/src/lib/libpthread and running
nbmake-evbarm.  Pick up the updated libpthread.* from the objdir.

SY, Uwe
-- 
uwe@ptc.spbu.ru                         |       Zu Grunde kommen
http://snark.ptc.spbu.ru/~uwe/          |       Ist zu Grunde gehen